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

Re: post-lock hook - locking many files at once

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Mon, 12 May 2008 16:09:55 -0500

Please see the post-lock.tmpl file generated by Subversion trunk,
which reads in part:

> # The paths that were just locked are passed to the hook via STDIN (as
> # of Subversion 1.2, only one path is passed per invocation, but the
> # plan is to pass all locked paths at once, so the hook program
> # should be written accordingly).

See:

http://svn.collab.net/repos/svn/trunk/subversion/libsvn_repos/repos.c

On May 12, 2008, at 7:39 AM, Filip Kolendo wrote:

> Did anyone observe the effect described below, or it is only my
> configuration?
>
>
> Filip Kolendo wrote, On 2008-05-08 12:42:
>
>> when user locks many files at once (windows, Tortoise SVN client
>> if it metters) post-lock hook is called separately for every file
>> being locked. It's quite annoying cause the hook script sends mail
>> with info. It is expected all the locked files will be listed in
>> one mail message.
>>
>> This behaviour seems to be connected with Windows svn server
>> (tested on XP and 2003 srv).
>> When tested on linux (ubuntu) - the hook is called only once with
>> the list of files being locked.
>>
>> Is it a bug? Or must be due to some Windows specific?
>> How can I script the post-lock hook to send one mail with the list
>> of locked files?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-12 23:10:43 CEST

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