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

Re: Setting Revprops before Revision is Created

From: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 22 Jun 2010 13:33:08 -0400

On Tue, Jun 22, 2010 at 8:26 AM, Les Mikesell <lesmikesell_at_gmail.com> wrote:
> Wouldn't it work at least as well to put this info in the commit message in
> a format you could check with a regexp in a pre-commit hook?
>  Then you'd see it in the history log.

About 5 years ago, I wrote a Perl script for Subversion that did all
sorts of pre-commit checking. Quite a few people used the script on
their sites over the years, but the code was convoluted and hard to
maintain. Plus, I was dependent upon some non-standard Perl modules
that a few people couldn't install on their system.

I have decided it was time to revamp the script to take care of a few
issues. I have removed the dependencies on non-standard Perl modules,
and redid the code in a more object oriented fashion to improve
readability and maintenance.

When I first did the script, you couldn't set revision properties on a
commit. Now that you can, I'd like to give users the ability to verify
that these revision properties have been set.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-06-22 19:33:49 CEST

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.