Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top