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

Re: svn propget for 9000 revisions. there must be a more efficient way

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-05 02:27:24 CET

On Mar 4, 2005, at 7:21 PM, sysadmin@grmtech.com wrote:

> cool, so i need to use two commands on the file svn log and then a svn
> diff. One more related question, svn log -vq <filename> gives me a
> output
> which is rather big, do i need to parse it to get the revision numbers
> where the file changed (either the content or the property) or do we
> have
> a simpler way to directly get the revisions when the file changed which
> can then be fed to svn diff.
>

You have two more options --

1. 'svn log -vq --xml' might be easier to parse,

2. if you direct access to the repository (no network), you can run
'svnlook history'. For example:

$ svnlook history /usr/local/svn/testrepos svn_xml.h

REVISION PATH
-------- ----
       20 /svn_xml.h
       19 /svn_xml.h
       18 /svn_xml.h
       17 /svn_xml.h
       16 /svn_xml.h
        1 /svn_xml.h

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 5 02:29:50 2005

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.