[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 11 Feb 2008 18:54:53 +0100

mchlwvr614 wrote:
> 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?

If the hook itself is called three times, then please try the following
with the command line client:

svn lock c:\project\file1 c:\project\file2 c:\project\file3 -m ""

(use absolute paths with the cl client).

If it also calls the hook three times, then you have to ask on the svn
mailing list for a solution.

Because TSVN calls the svn_client_lock() API with all paths, i.e.,
there's only one single call to svn_client_lock(), not three calls.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-02-11 18:55:13 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.