You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Ahmed, Omair (GE Oil & Gas)" <om...@ge.com> on 2012/10/30 16:39:52 UTC
svn diff outout
Hello,
Is there a way to get (via cmd line) a list of files that have changed
between revisions, instead of the content of the files?
RE: svn diff outout
Posted by "Ahmed, Omair (GE Oil & Gas)" <om...@ge.com>.
The developer who made the change has confirmed that he only modified 3
files.
This is the output I get:
c:\>svn diff --summarize -r 6:7
https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens
https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens
M
https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens/HMI_ERA_Tab1.c
im
M
https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens/tp_ge_dp_objec
ts.cim
M
https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens/HMI_Menu_Main.
cim
M
https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens/HMI_ERA_Tab1.c
im
M
https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens/tp_ge_dp_objec
ts.cim
M
https://x.x.com/svn/muxbopcs_svn/trunk/GEMUX/LocalScreens/HMI_Menu_Main.
cim
-----Original Message-----
From: Stefan Sperling [mailto:stsp@elego.de]
Sent: Tuesday, October 30, 2012 11:40 AM
To: Ahmed, Omair (GE Oil & Gas)
Cc: users@subversion.apache.org
Subject: Re: svn diff outout
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?
Re: svn diff outout
Posted by Stefan Sperling <st...@elego.de>.
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]
Re: svn diff outout
Posted by Stefan Sperling <st...@elego.de>.
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?
RE: svn diff outout
Posted by "Ahmed, Omair (GE Oil & Gas)" <om...@ge.com>.
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?
-----Original Message-----
From: Stefan Sperling [mailto:stsp@elego.de]
Sent: Tuesday, October 30, 2012 10:52 AM
To: Ahmed, Omair (GE Oil & Gas)
Cc: users@subversion.apache.org
Subject: Re: svn diff outout
On Tue, Oct 30, 2012 at 11:39:52AM -0400, Ahmed, Omair (GE Oil & Gas)
wrote:
> Hello,
>
>
>
> Is there a way to get (via cmd line) a list of files that have changed
> between revisions, instead of the content of the files?
Yes, there is: svn diff --summarize -r REV1:REV2 URL
Re: svn diff outout
Posted by Stefan Sperling <st...@elego.de>.
On Tue, Oct 30, 2012 at 11:39:52AM -0400, Ahmed, Omair (GE Oil & Gas) wrote:
> Hello,
>
>
>
> Is there a way to get (via cmd line) a list of files that have changed
> between revisions, instead of the content of the files?
Yes, there is: svn diff --summarize -r REV1:REV2 URL
Re: svn diff outout
Posted by Giulio Troccoli <gi...@mediatelgroup.co.uk>.
On 30/10/12 15:39, Ahmed, Omair (GE Oil & Gas) wrote:
>
> Hello,
>
> Is there a way to get (via cmd line) a list of files that have changed
> between revisions, instead of the content of the files?
>
svn log -v