[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn lock command with multiple files/paths

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Tue, 12 Feb 2008 13:50:36 -0600

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

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.