Re: digging whole history of the file
From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 3 Jun 2008 03:19:01 -0500
On Jun 3, 2008, at 01:57, Victoria Muntean wrote:
> How can I do (script or svn command) two following things:
> For (1), I wonder if there is faster way than parsing svn log x +
I'd do it just like that.
You can get the list of revisions with:
svn log -q $REPO/path/to/x \
For each revision, run:
svn diff -c $REV $REPO/path/to/x
> 2) for given file x and range of lines M:N in this file, print all
Not sure how to do this. You can start with:
svn blame $REPO/path/to/x \
This will print the most recent revisions to touch each of the lines
---------------------------------------------------------------------
|
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.