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

2,174 views
Skip to first unread message

Markus Humm

unread,
Feb 19, 2015, 4:33:31 AM2/19/15
to us...@tortoisesvn.tigris.org
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.

Greetings

Markus

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3099683

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Stefan Küng

unread,
Feb 19, 2015, 12:53:37 PM2/19/15
to us...@tortoisesvn.tigris.org
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
Reply all
Reply to author
Forward
0 new messages