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

Re: svn diff interface

From: sam th <sam_at_uchicago.edu>
Date: 2002-05-09 21:07:03 CEST

On Thu, 2002-05-09 at 14:00, Philip Martin wrote:

> Yes, but I would prefer to drop the iterative case :-) I don't use it,
> I think it makes the interface harder to understand, it makes the code
> harder to write and test, and it makes the interface less consistent
> with other svn functions.

<unlurk>
The iterative case is really quite useful. For example, say I've
changed lots of files in my WC, but I only want to get the diffs for
foo.c and bar.h. There are lots of times I want to do this. Then, with
cvs,
        % cvs diff foo.c bar.h > patch
does just what I want.
        % svn diff foo.c > patch && svn diff bar.h >> patch
is lots less user-friendly.

-- 
sam th						OpenPGP Key: CABD33FC
"Life is polynomial time." -- Laszlo Babai
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 9 21:08:10 2002

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.