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

Re: [SVNMERGE][PATCH] handle -r X-Y, where X > Y

From: Giovanni Bajo <rasky_at_develer.com>
Date: 2006-05-16 07:53:52 CEST

Madan U Sreenivasan <madan@collab.net> wrote:

>> "svn merge" accepts the reversed order with a different semantic
>> (reversed merge).
> I only know that 'svn merge' understands a reverse merge if you
> simply say -r 45-30. Am sorry, could you explain this different
> semantic?

"svn merge -r45:30" is the exact reverse of "svn merge -r30:45". Basically, the
former is a rollback command. Also "svn diff -r45:30" produces the reverse
patch. So there is precedence within SVN that X:Y (with X>Y) means the reversed
set of changes. Generically, X:Y means "the set of changes which can be applied
to revision X to obtain revision Y".

This is why I'm hesitant on having svnmerge accept reversed ranges and
normalize them.

Giovanni Bajo

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 16 07:54:19 2006

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