On Tue, 2005-09-06 at 05:32, Bob Proulx wrote:
> Are the diff titles upside down when using BASE:HEAD?
> I created a test repository and added a two line file to it for this
> test. The file is just to have something semi-interesting in it.
> This was actually found by one of the guys I work with in a larger
> project context.
>
> On a sample here I get:
>
> svn diff -r BASE:HEAD
> Index: testfile
> ===================================================================
> --- testfile (revision 0)
> +++ testfile (working copy)
> @@ -0,0 +1,2 @@
> +#!/usr/bin/env ruby
> +# A ruby script.
>
> I believe the working copy is tagged to the wrong side of the diff.
[snip]
> Then try the same test with numbers.
>
> svn diff -r 1:2
> Index: testfile
> ===================================================================
> --- testfile (revision 0)
> +++ testfile (revision 2)
> @@ -0,0 +1,2 @@
> +#!/usr/bin/env ruby
> +# A ruby script.
[snip]
> Those both seem "correct". Shouldn't the numbers behave exactly the
> same as the ones using BASE and HEAD?
Just pointing out... may not be related to your question or the answer
thereof...
svn diff -r BASE:HEAD
lists a revision 0.. what is this revision 0 ( I gather from your mail that your wc
is at r1 and the HEAD is at r2. where is this 0 coming from?
Same question with one of the number usage scenarios you are pointing out...
svn diff -r 1:2
Also lists a revision 0.
Am wondering why a revision 0 is coming into the picture...
Regards,
Madan.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 6 07:45:36 2005