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

Re: How do I see a list of all changes to a file through successive revisions?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-10-08 15:49:39 CEST

On 10/8/07, brian@enchanter.net <brian@enchanter.net> wrote:
> For a given file, I'd like Subversion to give me a list of every commit
> which changed that file, and a diff of exactly what changes were made in
> each commit. My goal is to be able to look through the list and find out
> exactly when a specific line of code was changed. How can I get this,
> other than having to do a 'svn diff -r ...' for every revision?
>
> 'svn log' shows me the commits, but not the changes.

svn log <filename> to get the list of revisions.

svn diff to get the diff for those revisions.

svn blame <filename> will tell you the last time, and by whom, each
line in a file was changed.

There is no single command to do it. It's ripe for scripting though.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 8 15:56:38 2007

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.