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

Re: diff cmd syntax question for Old Hundred Eyes

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-01-25 20:53:39 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Can anyone think of a nicer solution than the proposed -R syntax? I'm
> certainly not wedded to it, just can't think of anything better.

How about a new command that requires exactly two targets (maybe
allowing one to default to the current directory). Then we don't need
more options.

   $ svn xxx target1 target2 # case 1
   $ svn xxx -rREV target1 target2 # case 2
   $ svn xxx -rREV1:REV2 target1 target2 # case 3

Target can be a wc path or an URL. Cases 1 and 2 are straightforward,
the only "tricky" bit is that in case 3 REV1 applies to target 1 and
REV2 applies to target2.

What could 'svn xxx' be? Well, two things come to mind

   $ svn rdiff target1 target2
   $ svn compare target1 target2

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:00 2006

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.