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

Re: possible diff --summarize bug

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-05 06:56:32 CEST

On Apr 4, 2007, at 16:56, Daniel Risse wrote:

> I'm trying to write some tools to help manage having a /trunk and
> /branches/live. In writing up some tests and scenarios, I believe
> that I
> have found an error.
>
> The structure of the test repository is:
> $ svnlook tree /usr/tmp/repos/
> /
> trunk/
> lib/
> Admin.pm
> branches/
> live/
> lib/
> Admin.pm
>
>
> I would like to be able to view a summary of what is different with:
> $ svn diff --summarize file:///usr/tmp/repos/branches/live/lib/
> Admin.pm
> file:///usr/tmp/repos/trunk/lib/Admin.pm
> M file:///usr/tmp/repos/branches/live/lib/Admin.pm/Admin.pm
>
> There is an extra /Admin.pm at the end of the line I was not
> expecting.
>
>
> Viewing the non summarized output looks correct though:
> $ svn diff file:///usr/tmp/repos/branches/live/lib/Admin.pm
> file:///usr/tmp/repos/trunk/lib/Admin.pm
> Index: Admin.pm
> ===================================================================
> --- Admin.pm (.../branches/live/lib/Admin.pm) (revision 4)
> +++ Admin.pm (.../trunk/lib/Admin.pm) (revision 4)
> @@ -1,5 +1,4 @@
> -package Admi;
> +package Admin;
>
> 1;
>
>
>
> Incidentally, I noticed that I get the expected output if I ask for
> a diff
> between the directories instead of the actual files.
> $ svn diff --summarize file:///usr/tmp/repos/branches/live/lib
> file:///usr/tmp/repos/trunk/lib
> M file:///usr/tmp/repos/branches/live/lib/Admin.pm
>
>
> Is this a known issue, or am I not executing the command correctly?

I can confirm what you've said, using Subversion 1.4.3 on Mac OS X
10.4.9 Intel. It looks like a bug to me. I can find no bugs of any
status containing "summarize" in the summary so I recommend you
submit a bug report to the issue tracker. Please include a link back
to this email thread in the archives.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 5 06:57:08 2007

This is an archived mail posted to the Subversion Users mailing list.