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

Re: Find the changed line numbers in a file

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 20 Oct 2011 14:28:23 +0200

Then install diffstat.exe and repeat what Stefan said :)

It's probably in the diffutils or diffstat package on gnuwin32.sf.net or
a similar place.

subhash_m wrote on Thu, Oct 20, 2011 at 03:56:41 -0700:
>
> Thanks for diffstat suggestion. But I am on Windows. :(
>
>
> Stefan Sperling-7 wrote:
> >
> > On Thu, Oct 20, 2011 at 03:24:55AM -0700, subhash_m wrote:
> >>
> >> Hi Mark,
> >> I want to do this from a script. Basically script should find out numbers
> >> of
> >> the lines changed in the file.
> >
> > Install diffstat, and run 'svn diff -cN | diffstat'.
> >
> > Example:
> > $ svn diff -c1186167 https://svn.apache.org/repos/asf | diffstat
> > 1.7.x/STATUS | 11 ----
> > 1.7.x/subversion/libsvn_client/mergeinfo.c | 51
> > ++++++++++++++++++--
> > 1.7.x/subversion/tests/cmdline/mergeinfo_tests.py | 56
> > ++++++++++++++++++++++
> > 3 files changed, 103 insertions(+), 15 deletions(-)
> >
> >
>
> --
> View this message in context: http://old.nabble.com/Find-the-changed-line-numbers-in-a-file-tp32688385p32688730.html
> Sent from the Subversion Users mailing list archive at Nabble.com.
>
Received on 2011-10-20 14:29:04 CEST

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.