You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Philip Martin <ph...@codematters.co.uk> on 2014/10/13 18:01:48 UTC

Re: Change prevprops in pre-commit

Philip Martin <ph...@wandisco.com> writes:

> Sergey Azarkevich <az...@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