easiest way to undo one file change in svn -
let's have following situation:
myrepo/ foo.txt bar.txt baz.txt quux.txt bingo.txt
in rev 419, changed foo.txt, bar.txt, , bingo.txt.
now discover error , keep foo.txt rev 418, leave changes in bar.txt , bingo.txt rev 419 intact, can commit rev 420 foo.txt same rev 418.
how can minimum of hassle?
this how, have rolled changes of previous commit.
the reverse merge : svn --revision (version revert):(version below it) <. or filename>
svn merge --revision 419:418 foo.txt svn commit -m "reverting commit ver:419 foo.txt"
Comments
Post a Comment