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

Re: svnlook changed

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Fri, 30 Dec 2011 14:53:44 -0600

On Dec 30, 2011, at 14:27, <Joe.Floeder_at_sungard.com> <Joe.Floeder_at_sungard.com> wrote:

> I am trying to figure out a way to get a list of files that have changed in a particular code line (branch or project) since a date or a revision. Svnlook changed does not appear to accept a range of revisions.
>
> gold:/opt/subversion-1.7.1/bin> svnlook changed -r11034:11035 /dsi/subversion/test17/itrepos
> svn: E205000: Invalid revision number supplied
> gold:/opt/subversion-1.7.1/bin> svnlook changed -r11034:HEAD /dsi/subversion/test17/itrepos
> svn: E205000: Invalid revision number supplied
> gold:/opt/subversion-1.7.1/bin> svnlook changed -r11034 /dsi/subversion/test17/itrepos
> UU 13.007/p.dev/buildTrade.p
>
> Am I using the wrong syntax? Is there a better way to get this information?
>
> I suppose I could write a script that would recursively use svnlook on a series of revision numbers to build a complete list of changed paths between a selected revision and the HEAD revision of the repos.

Try "svn diff --summarize". For example here is a list of the files and directories changed in the 2.0 branch of MacPorts in December (apologies if my email client inserts any erroneous linebreaks):

$ svn diff --summarize https://svn.macosforge.org/repository/macports/branches/release_2_0 -r{2011-12-01}:{2011-12-31}
M https://svn.macosforge.org/repository/macports/branches/release_2_0/base/src/pextlib1.0/tests/curl.tcl
M https://svn.macosforge.org/repository/macports/branches/release_2_0/base/src/pextlib1.0/curl.c
 M https://svn.macosforge.org/repository/macports/branches/release_2_0/base
 M https://svn.macosforge.org/repository/macports/branches/release_2_0
Received on 2011-12-30 21:54:20 CET

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.