logo       

Re: undo a change set: msg#00046

version-control.svk.devel

Subject: Re: undo a change set

It will be in the book tutorial,

bascially

$ svk merge --change -REV // //
Will under change REV in the // depot.

If there are mirrors in // this won't work though. In that case you need to specify the path to either the mirror anchor you are undoing the change for or to DEPOTPATH which doesn't contain any mirror anchors.

Here is an example:

$ svk merge --message "Undo change 11" --change -11 --no-ticket -- log //calc //calc

You can also undo the change in the current wc if you prefer. To do so just run merge with the depotpath your wc is anchored at.

Michael


On Jul 23, 2005, at 9:10 AM, solo turn wrote:

i'd like to add a short paragraph to
http://svk.elixus.org/?SVKTutorial on how to rollback or undo a change
set. i think this might be useful and it is missing. what is the
simplest way to do that? branch the old revision and smerge it to
trunk?

-solo.






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise