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

Re: Externals and "Can't obtain lock on non-directory"

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 19 Feb 2015 18:53:38 +0100

On 19.02.2015 10:33, Markus Humm wrote:
> Hello,
>
> I'm looking for information about why the failure message above
> "Cant' obtain lock on non-directory" appears for a directory in my WC
> which contains (or shall contain) the externals when I try to update
> my WC?
>
> The URL in the repository containing the externals contains a space
> char chich is "URL escaped" as %20 and the path to the directory
> containing my WC contains a space char as well. But can this really
> be the case? Externals path in the WC properties is defined as a
> relative path anyway.

if you have a space in the target directory, you have to put that name
into single quotes, otherwise the externals property is invalid:

svn:externals
http://server.com/svn/trunk/some%20folder 'some folder'

If you've set the property as
http://server.com/svn/trunk/some%20folder some folder
it won't work.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3099796
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-02-19 18:53:40 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.