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

Re: Cannot commit/status/... on single files on network drive - bug in path construction

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 28 Feb 2011 18:48:14 +0100

On 28.02.2011 18:29, Eelke Spaak wrote:
> 2011/2/28 Felix Saphir<felix.saphir_at_kantarmedia.de>:
>> Am 28.02.2011 16:01, schrieb Eelke Spaak:
>>>
>>> Currently, I am using TortoiseSVN 1.6.12, 64bit version, on a 64-bit
>>> Windows 7 machine, and have checked out a repository to a folder on a
>>> mapped network drive.
>>
>> Don't do that! It's recommended to put working copies on local drives.
>
> Thanks for your response Felix. This FAQ
> (http://tortoisesvn.tigris.org/faq.html#ovlonlylocal) seems to suggest
> that it should be possible to use a network drive as a working copy.
> In any case, it would be really useful for me, since then I would be
> able to use both Linux and Windows programs accessing the same files.
>
>>> Whenever I try to commit (or check the status
>>> of) a file, the relevant dialog does pop up, but there is an error in
>>> the dialog: "Can't open file
>>> 'M:\fieldtrip-local\ft_singleplotTFR.m\.svn\entries': The directory
>>> name is invalid.". This error message was generated when trying to
>>> commit the *file* 'M:\fieldtrip-local\ft_singleplotTFR.m', so the
>>> directory name is indeed invalid.
>>
>> Well, the file ...\.svn\entries is part of the metadata of a working
>> copy, and the name is perfectly valid. I think this is a side-effect of
>> keeping the working copy on a network drive.
>
> The path that TortoiseSVN tries to access is not '..\.svn\entries' but
> '<somefolder>\ft_singleplotTFR.m\.svn\entries'.
> '<somefolder>\ft_singleplotTFR.m' is a file, and not a directory. So,
> it places a slash after a *file*name, not a directory name. Isn't this
> wrong in any case?

That's a known bug in the svn library. It won't get fixed for the 1.6.x
line anymore since it works on trunk (and therefore in the upcoming 1.7)
due to the rewrite of a lot of path APIs. But since those rewrites are
big and include new stuff, that won't get back-ported to 1.6.x.

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=2708270
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-02-28 18:48:23 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.