[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Book] Undo Changes section.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-28 00:43:37 CEST

On Tue, 2004-07-27 at 17:32, Daniel Santa Cruz wrote:
> I was wondering about the correctness of the example:
>
> svn merge -r 303:302 ......
>
> Seems that the current head revision is 349, why are they using 303:302?
> Should it be
>
> svn merge -r 349:302 ......

'svn merge -r 349:302' would undo every single change ever made to the
file, every since r302. Sure, you might want to do that. But the
example in the book wants to remove *only* the r303 change. So by
comparing r303 with r302, you get a 'reverse patch' which only undoes
that one change.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 28 00:46:01 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.