[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: subhash_m <subhashsubhash_at_gmail.com>
Date: Thu, 20 Oct 2011 03:56:41 -0700 (PDT)

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 12:57:14 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.