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

Re: Change prevprops in pre-commit

From: Philip Martin <philip_at_codematters.co.uk>
Date: Mon, 13 Oct 2014 17:01:48 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Sergey Azarkevich <azarkevich_at_gmail.com> writes:
>
>> I see in pre-commit hook template that changing revisions properties in
>> transaction are allowed.
>> But I can't find way for it (I want change svn:author to more readable).
>>
>> Is here way for this with svn, svnadmin, svnlook ... or other standard
>> tool? Or I should use Subversion API and write simple tool?
>
> I think we should provide command line support for setting txnprops.
> The code is simple enough, the iterface is a bit harder.

trunk now supports setting and deleting txnprops much like it supports
revprops:

  svnadmin setrevprop -t TXN REPOS NAME FILE

and

  svnadmin delrevprop -t TXN REPOS NAME

-- 
Philip
Received on 2014-10-13 18:02:17 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.