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

Re: Add -c option to merge

From: John Belmonte <john_at_neggie.net>
Date: 2005-10-31 03:26:09 CET

Daniel Berlin wrote:
> This adds an option "-c" (long form --change) that is shorthand for
> "<rev -1>:<rev>", to merge.
> The only thing i'm a little iffy on is whether we should add more state
> just so we can tell the user they specified both "-r" and "-c", instead
> of just saying we found multiple revision arguments (which could pop up
> from multiple -c's, multiple -r's, or mixing -c and -r)
> The -c option was discussed a while ago, and nobody seemed to object to
> it. They only objected to allowing the same formats that svk allows,
> instead of just the single revision form.
> I'll wait a few days for objections or ideas or whatever before
> committing.

Please consider using your shell to resolve issues like this instead of
adding new options to the svn client. E.g. in bash:

  $ function rchange { echo "-r$(($1-1)):$1"; }
  $ rchange 500
  $ svn merge $(rchange 500) $REPO .


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 31 03:26:47 2005

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.