[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: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-04-16 01:28:46 CEST

"David D. Kilzer" <ddkilzer@kilzer.net> writes:
> I was asked to post this feature request after chatting with sabor via IRC on
> #svn.
>
> 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
>
> However, I get an error message similar to this one instead:
>
> svn: Unable to find repository location for
> 'file:///repo-path/wc/path/file' in revision 20
>
> Finally, note that if I remove "/file" from the diff command, svn will give me
> an "added file" diff for the given file, along with any other changes in the
> directory. I believe it should work for a single file as well.
>
> Shall I file an issue for this?

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.

---------------------------------------------------------------------
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:28:57 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.