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

Re: how many times was file changed

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-07-15 23:12:20 CEST

On Jul 15, 2006, at 22:50, Martin Minka wrote:

> Is there a way to find out how many times was a particular file
> changed and commited to respository ?

There are probably other solutions, but this seems to work:

svn log <url-or-path-to-file> --xml | grep '^<logentry' | wc -l

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 15 23:13:28 2006

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.