[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:24:55 -0700 (PDT)

Hi Mark,
I want to do this from a script. Basically script should find out numbers of
the lines changed in the file.

Thanks.

Cooke, Mark wrote:
>
>> -----Original Message-----
>> From: subhash_m [mailto:subhashsubhash_at_gmail.com]
>> Sent: 20 October 2011 10:49
>> To: users_at_subversion.apache.org
>> Subject: Find the changed line numbers in a file
>>
>>
>> I want to know if there is any way I can find out the line
>> numbers of the
>> changes made to a file. i.e. numbers of the lines in the
>> modified file where
>> code is added or edited.
>>
>> Thanks.
>
> It is not clear what you want, do you want to do this from a script or
> just look at the file?
>
> The 'blame' command will show a file and the version at which each line
> was changed morst recently and by whom:
>
> http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.blame.html
>
> ~ mark c
>
>

-- 
View this message in context: http://old.nabble.com/Find-the-changed-line-numbers-in-a-file-tp32688385p32688585.html
Sent from the Subversion Users mailing list archive at Nabble.com.
Received on 2011-10-20 12:25:25 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.