[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: Martin Minka <martin.minka_at_gmail.com>
Date: 2006-07-15 23:43:21 CEST

Is it an option to use HOOKS to automaticaly increase value of PROPERTY (for
example cad:revnum) ?

I want to use SVN to store CAD drawings and I need to know the rev. number
of particular drawing and can not use the global repository revision number.

thank you

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006c@ryandesign.com]
Sent: Saturday, July 15, 2006 11:12 PM
To: Martin Minka
Cc: users@subversion.tigris.org
Subject: Re: how many times was file changed

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:44:44 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.