On Fri, Sep 9, 2011 at 2:06 AM, <subvers...@trodman.com> wrote: > Would like to write a script to follow the history of a single > file, backwards, diffing the file w/it's prior version all the way > back to the 1st version. > > By using 'svn info' to get the last chgd rev, and running 'svn > diff -c $lastchgd_rev ...', this seems simple enough if the URL to > the file does not change; but if the pathname in svn to the file > is renamed there is no choice but to look at 'svn log', right? > > -- > thanks/regards, > Tom > > -- > Does such a command line tool already exist?
Well, yes, such a command line tool already exists :-). At least, it does in 1.7.0 RC2: 'svn log --diff' will produce the log with the diffs inline. Take a look at one of the 1.7.0 pre-release binaries available here: http://subversion.apache.org/packages.html#pre-release -- Johan