Change 4249

tony_smith (Tony Smith)
Tony Smith committed this change into //guest/tony_smith/perforce/P4Rubylib
Request Review
Download .zip
Add a script to back out a change. Features:

* Prepares a fresh pending changelist with the files needed to back
  out the change.

* Attempts to resolve merges for backing out older edits using
  "p4 resolve -am"

* Leaves conflict resolution (if any) to the user

Shortcomings are numerous, but include:

* Does not (yet) re-branch deleted branched files.

* Does not handle filetype changes (yet).

The odds of success are highest with new changes. For older changes
things are much more complicated and you can expect to have some
work to do.
  • Files 2
  • Comments 0
1 edited 1 added 0 deleted
index.html#4
Loading...
scripts/reversechange.rb#1
Loading...
Tip: Use n and p to cycle through the changes.