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

RESOLVED: svn diff outout

From: Ahmed, Omair (GE Oil & Gas) <omair.ahmed_at_ge.com>
Date: Tue, 30 Oct 2012 12:53:52 -0400

Yes, that was the problem; specifying a single URL gives me the
correct/expected output. Thank you for your help!

-----Original Message-----
From: Stefan Sperling [mailto:stsp_at_elego.de]
Sent: Tuesday, October 30, 2012 11:45 AM
To: Ahmed, Omair (GE Oil & Gas); users_at_subversion.apache.org
Subject: Re: svn diff outout

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]
Received on 2012-10-30 17:54:39 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.