On 09/08/2014 09:26 AM, Philip Martin wrote:
> 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. There was was
> some debate on IRC as to whether it should be
>
> svnlook propset -t txn
>
> or
>
> svnadmin settxnprop -t txn
Why not just 'svnadmin setrevprop -t txn' ? New option, but not a new
subcommand. I don't think it all that important to distinguish between
"transaction props" and "revision props" once we get outside our API
space and into user command space. Our users understand "revision
props" as properties on revisions, and transactions as revisions-to-be
... the rest is fairly trivial inference.
(And yes, 'svnlook' should be kept read-only.)
--
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet <> www.collab.net <> Enterprise Cloud Development
Received on 2014-09-08 16:26:53 CEST