On Feb 12, 2008, at 11:15, Reedick, Andrew wrote:
>> When I run the svn lock command, example below, my hook runs 3x
>> and I get 3 emails one listing with each path below on stdin.
>> Shouldn’t I be getting a list of files on stdin with the hook
>> being called once, with one email? Has anyone ever seen this? I
>> am running subversion 1.4.5. I think according to the
>> documentation everything after 1.3 should pass a list into stdin
>> of the hook?
>>
>> C:\Documents and Settings\MWeaver.viewpoint\Desktop\Test>svn lock
>> "test folder\n
>> ew text document (6).txt" "test folder\new text document.txt"
>> "test folder\new t
>> ext document (5).txt" -m ""
>> 'New Text Document (5).txt' locked by user 'mjw'.
>> 'New Text Document (6).txt' locked by user 'mjw'.
>> 'New Text Document.txt' locked by user 'mjw'.
>
>
> Print the transaction id in each email (to see if svn really is
> breaking locks up into three individual transactions.)
> Try running “svn lock –targets file.txt” to see if that will force
> it into one transaction.
> Post your hook code to see if you’re making a dumb mistake somewhere.
But locks do not occur in transactions... No transaction (or
revision) is created when you lock or unlock...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-12 21:11:29 CET