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

RE: Re: Path resolution problem with working copy on NFS share

From: Wolfgang Stengel <wolfgang.stengel_at_efactory.de>
Date: Fri, 18 Sep 2009 07:42:31 -0700 (PDT)

> > because samba is very slow, today I tried using NFS to access my
> > working copy. Generally it works very well except for the diff
> > feature. In the commit dialog one can usially double-click on a
> > changed file an see the differences. This does not work anymore.
> > Clicking on the "Show differences as unified diff" context menu item
> > reveals a hint as to why: Tortoise somehow appends the .svn/entries
> > path to the complete filename instead of the directory the file is in
> > (see screenshot).
> >
> > Does anyone here know if this is a Tortoise bug (related to
> > backslashes somehow) an a way around it, or if it's a bug within
> > NFS?
>
> TSVN (and usually every other app out there) doesn't know or even care
> whether a path is on an NFS share or a local drive. All it cares is the
> path itself (needed to access the files and folders) and that it works
> as it should.
> So this is definitely an issue with your share. From the error message
> (btw: Ctrl-C to copy the text of the error dialog to the clipboard, and
> you can save yourself from a screenshot) my guess would be that it
> doesn't return the proper flags when asked whether a path is a folder or
> a file.
>
> Stefan

The curious thing is that the share works perfectly in every other way: I can read, write, rename, move files and folders as usual, with Windows Explorer and other Windows applications like my IDE. Commiting with TSVN works, too. I tried this:

C:\Programme\TortoiseSVN\bin>TortoiseProc.exe /command:showcompare /unified /url1:"J:\epson_store\frame\unity\user.php" /revision1:BASE /url2:"J:\epson_store\frame\unity\user.php" /revision2:WC

And got the same error message (with forward slashes in the file names, too):

Can't open file 'J:\epson_store\frame\unity\user.php\.svn\entries': Der Verzeichnisname ist ungültig.

From the source code of TSVN it looks like there are no special flags used from the file system to determine if a path is a directory or a file. For example the function svn_path_split() determines the folder just by searching for the first slash from the right. Maybe it's a Subversion problem afterall (not TSVN).

Wolfgang

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-09-18 16:47:23 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.