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

Re: FEATURE: "svn diff -r20:21 file" fails on file added in r21

From: David D. Kilzer <ddkilzer_at_kilzer.net>
Date: 2007-04-16 01:54:27 CEST

Karl Fogel <kfogel@red-bean.com> wrote:
> "David D. Kilzer" <ddkilzer@kilzer.net> writes:
> > I think it should be possible to run the following command on a file added
> > in r21 and get an "added file" diff:
> > svn diff -r20:21 wc/path/file
>
> Better to discuss the feature here first, usually. Should it also
> show the added file diff for
>
> -r19:21
> -r18:21
> -r17:21
>
> ... etc? I agree the current behavior is in some ways non-optimal,
> I'm just not sure what the best way to solve it is: the obvious
> solutions might lead to worse inconsistencies.

Yes. In fact, I tried -r0:21 (since svn outputs "revision 0" when it does
generate the added-file diff), but that didn't work either.

I suppose that would mean that if you used -r21:N then a removed-file diff
would be generated (where "N" is a revision less than the created revision).

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 16 01:54:38 2007

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.