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

Re: Tortoise and its locking method

From: mchlwvr614 <mjw_at_viewpointusa.com>
Date: Mon, 11 Feb 2008 09:34:53 -0800 (PST)

Stefan,

Thanks for the quick reply. I am locking files in a svnserve based server
through the Tortoise GUI. I don't think this has to do with relative or
absolute paths. The hook is being called three times from tortoise when
locking three files? Also from reading the Automating tortoise appendix D
it seems you can only lock one path at a time?

When you perform a lock on multiple files does it only call the hook once
passing in the list of all locked files? Tortoise could be locking the
files in "one step" but I think its still calling the lock function per
every file/path. Any work around for this?

Thanks,

Mike

Stefan Küng wrote:
>
> mchlwvr614 wrote:
>> I have created a post-lock hook script that functions properly, sends out
>> emails etc. The only problem I am having is that if I want to get a lock
>> on
>> three files, it locks the three individually, I get 3 emails. I know in
>> the
>> snv lock command you can get locks on multiple files and when the hook
>> runs
>> it will pass the list of locked files, one per line, to stdin of the
>> hook.
>> Is there anyway I can get tortoise to do this or does it only lock one at
>> a
>> time?
>
> TSVN locks all selected files in one step. But of course, unlike the svn
> client it uses absolute paths, not relative paths. Maybe that's why your
> script sends out three mails instead of just one?
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
>
>
>

-- 
View this message in context: http://www.nabble.com/Tortoise-and-its-locking-method-tp15415348p15416403.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-02-11 18:35:00 CET

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

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