[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:53:26 CEST

On Jul 15, 2006, at 23:43, Martin Minka wrote:

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

I don't think so. A pre-commit hook may not modify the data in the
transaction. That includes file contents and file (versioned)
properties. The pre-commit hook may modify revision (unversioned)
properties, but that wouldn't do you any good, since you would
probably like to store this value with the file.

---------------------------------------------------------------------
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:54:41 2006

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