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

Re: Revision Properties Question

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-06-21 17:26:21 CEST

On 6/21/05, Ben Collins-Sussman <sussman@collab.net> wrote:
> That said, a pre-commit hook *could* still check a revision property:
>
> $ svnlook propget -t txn --revprop /path/to/repos propname /path/
> to/file
>
> ... if, say the commit came in via some other way other than via svn
> client.

Actually, my hook can currently do just that. I spent about three
hours modifying it and testing it. And, right before I decided to make
it live, I ran through a complete testing scenero where I would set
the revprop "bugnum", or have my commit rejected.

The hook worked just as it was suppose to. The problem I had was
getting Subversion to let me actually set the revision property.

Apparently, this is an oversite. If I want to, I can write my own
program and do it through the Subversion bindings. I might actually do
that too.

--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 21 17:28:47 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.