Change prevprops in pre-commit

2014-09-08 Thread Sergey Azarkevich
Hello, 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 si

Re: Change prevprops in pre-commit

2014-09-08 Thread Andreas Stieger
> On 8 Sep 2014, at 08:20, Sergey Azarkevich wrote: > > Hello, > > 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, svnloo

Re: Change prevprops in pre-commit

2014-09-08 Thread Philip Martin
Sergey Azarkevich 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

Re: Change prevprops in pre-commit

2014-09-08 Thread Kim Gräsman
On Mon, Sep 8, 2014 at 3:26 PM, Philip Martin wrote: > > 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 > >svnadm

Re: Change prevprops in pre-commit

2014-09-08 Thread Julian Foad
Philip Martin wrote: > Sergey Azarkevich 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

Re: Change prevprops in pre-commit

2014-09-08 Thread C. Michael Pilato
On 09/08/2014 09:26 AM, Philip Martin wrote: > Sergey Azarkevich 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, svnadmi

Re: Change prevprops in pre-commit

2014-09-08 Thread Philip Martin
"C. Michael Pilato" writes: > 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 und

Re: Change prevprops in pre-commit

2014-09-09 Thread Branko Čibej
Changing svnlook from its current read-only behaviour would be a bad idea, IMO. I vote for adding -t to svnadmin set/delrevprop, this matches svnlook's option, IIRC. -- Brane On 8 Sep 2014 15:27, "Philip Martin" wrote: > Sergey Azarkevich writes: > > > I see in pre-commit hook template that ch

Re: Change prevprops in pre-commit

2014-10-13 Thread Philip Martin
Philip Martin writes: > Sergey Azarkevich 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 oth