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

Re: Modify properties in pre-commit hook

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-24 10:57:44 CEST

kfogel@collab.net wrote:
> Ben Collins-Sussman <sussman@collab.net> writes:
>> Of course we have APIs for changing revision props on a transaction.
>> Can 'svnadmin' do it? Not at all, other than the 'svnadmin setlog'
>> commmand. But do we have APIs? Of course!
>>
>> Just use svn_fs.h. Call svn_fs_open_txn(), followed by
>> svn_fs_change_txn_prop(). Write a C program, or do it in Perl or
>> Python. Whatever you want.
>
> Ben is quite correct, I misspoke -- we do have APIs, but we don't ship
> with any programs that use them. (I think for Mark's purposes, that's
> more or less equivalent to not offering the functionality, and also it
> would still be appropriate for us to change the default hook template
> text.)

I disagree - we have python and perl bindings, right?

Even if we didn't, the information in the current template is valid and
would be useful to anyone who was capable of writing a small C program.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 24 11:02:50 2004

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.