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

Limit svnlook history output?

From: Mike Schilli <m_at_perlmeister.com>
Date: Mon, 5 Oct 2009 15:43:48 -0700 (PDT)

In a post_commit hook, 'svnlook history' can be used to dig up details
on the previous checkin of the affected file(s).

Running

     svnlook history -r txn repo path

returns a list of N historical entries of which the 2nd one is the repo
on the previous repo version of the same file.

Questions:

a) Is this the best way of obtaining the first repo revision containing
the previous version of the file?

b) Is there a way to limit the output to a small number of entries? Some
files have histories of several thousand entries, most of which aren't
needed in this case.

Any help appreciated!

-- Mike

Mike Schilli
m_at_perlmeister.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2403903

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-06 00:45:06 CEST

This is an archived mail posted to the Subversion Users mailing list.