Re: Setting Revprops before Revision is Created

2010-06-24 Thread Daniel Shahaf
David Weintraub wrote on Thu, 24 Jun 2010 at 19:52 -: > > David Weintraub wrote on Tue, 22 Jun 2010 at 14:40 -: > >> Thanks! > >> > >> That's all I have to know. It is possible to set revprops when doing a > >> commit, so I should have a mechanism to check for those when doing a > >> commit

Re: Setting Revprops before Revision is Created

2010-06-24 Thread Ryan Schmidt
On Jun 24, 2010, at 11:52, David Weintraub wrote: > Yes, you can set the revprops on a commit, but apparently you cannot > do a "svnlook -t $TX proplist --revprop $REPO". > > I keep getting the error "svnlook: Invalid revision number '-1'". This was a bug which was fixed in March: http://mail-

Re: Setting Revprops before Revision is Created

2010-06-24 Thread David Weintraub
> David Weintraub wrote on Tue, 22 Jun 2010 at 14:40 -: >> Thanks! >> >> That's all I have to know. It is possible to set revprops when doing a >> commit, so I should have a mechanism to check for those when doing a >> commit too. On Tue, Jun 22, 2010 at 10:38 AM, Daniel Shahaf wrote: > You'r

Re: Setting Revprops before Revision is Created

2010-06-22 Thread David Weintraub
On Tue, Jun 22, 2010 at 8:26 AM, Les Mikesell wrote: > Wouldn't it work at least as well to put this info in the commit message in > a format you could check with a regexp in a pre-commit hook? >  Then you'd see it in the history log. About 5 years ago, I wrote a Perl script for Subversion that d

Re: Setting Revprops before Revision is Created

2010-06-22 Thread Daniel Shahaf
David Weintraub wrote on Tue, 22 Jun 2010 at 14:40 -: > Thanks! > > That's all I have to know. It is possible to set revprops when doing a > commit, so I should have a mechanism to check for those when doing a > commit too. > You're welcome. (The mechanism ought to be 'svnlook -t' from the

Re: Setting Revprops before Revision is Created

2010-06-22 Thread Les Mikesell
Wouldn't it work at least as well to put this info in the commit message in a format you could check with a regexp in a pre-commit hook? Then you'd see it in the history log. David Weintraub wrote: Thanks! That's all I have to know. It is possible to set revprops when doing a commit, so I s

Re: Setting Revprops before Revision is Created

2010-06-22 Thread David Weintraub
Thanks! That's all I have to know. It is possible to set revprops when doing a commit, so I should have a mechanism to check for those when doing a commit too. I thought that 1.5 allowed it, but I didn't know how. On Tue, Jun 22, 2010 at 1:15 AM, Daniel Shahaf wrote: > There is 'svn commit --wi

Re: Setting Revprops before Revision is Created

2010-06-21 Thread Daniel Shahaf
There is 'svn commit --with-revprop' in >=1.5, does that help? David Weintraub wrote on Tue, 22 Jun 2010 at 07:36 -: > I know this sounds strange, but can you set a revision property before > a revision is created? > > For example, I make some file changes, and want to mark that my > changes

Setting Revprops before Revision is Created

2010-06-21 Thread David Weintraub
I know this sounds strange, but can you set a revision property before a revision is created? For example, I make some file changes, and want to mark that my changes fixed bug # 1001. To do this, I'll set a revision property "corp:bugbix" to "1001". Then, I'll check in my changes with the new revi