Frage

The man page seems simple enough:

accurev diff -- -p

however I haven't "kept" anything and I absolutely do not want to keep anything. I want a patch file that expresses the changes I've edited into the code. Nope. Apparently you have to keep it first. I guess I need another workspace and diff the files one by one? Please tell me AccuRev is not that brain damaged! :( Thank you!

That's what I'll do for today, but I hope there is a better answer.

War es hilfreich?

Lösung

list=$(accurev stat -m | awk '{print $1}')
for f in $list ; do
   accurev diff -b ${f#./} -- -p
done > patch-file

Too hard. Too non-obvious.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top