[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: Eelke Spaak <eelke.spaak_at_donders.ru.nl>
Date: Mon, 28 Feb 2011 18:29:45 +0100

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?

Cheers,
Eelke

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

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