[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: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Thu, 20 Oct 2011 11:08:37 +0100

> -----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
Received on 2011-10-20 12:09:18 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.