On Tue, Oct 30, 2012 at 05:39:33PM +0100, Stefan Sperling wrote:
> On Tue, Oct 30, 2012 at 12:25:59PM -0400, Ahmed, Omair (GE Oil & Gas) wrote:
> > This is command returns a double entry for each of the files which
> > changed between two versions. The Tortoise client displays a single
> > entry. 
> > 
> > c:\>svn diff --summarize -r 3:7
> > https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens 
> > https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens >
> > c:\temp\rel1.6.txt
> > 
> > Do you know why that is happening?
> 
> I don't know. It does not do that for me.
> 
> This command, using a public URL, prints one changed file, which is correct:
>   svn diff --summarize -c 1403696 https://svn.apache.org/repos/asf
> 
> (-c 1403696 means the same as -r 1403695:1403696)
> 
> Can you provide a reproduction recipe for your problem that I can try
> out on my own machine?

Hmmm, looking closer, maybe the problem is simply that you passed
the same URL twice? Each URL you specify is a diff target.
So if you pass the same target twice you will see the same diff twice.

As per the output of 'svn help diff', I am using this invocation:

       1. diff [-c M | -r N[:M]] [TARGET[@REV]...]

and *not* this one:

       3. diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]

Reply via email to