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

Re: Diff doesn't work anymore on nfs shares since 1.6

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 07 Apr 2010 20:03:39 +0200

On 07.04.2010 16:03, Richard Snijders wrote:
> I recently updated my TortoiseSVN version to 1.6.7 and now I get a
> "The directory name is invalid" in the Commit window. The file I'm
> trying to diff is Y:\test\testfile but the error states:
> "Y:\test\testfile\.svn\entries The directory name is invalid". If I
> right-click the file and click on Diff with the previous version I
> get the error: Could not get status!. Probably because it searches
> for .svn directory in the same wrong place. So for some reason the
> file is seen as a directory instead of the actual file.
>
> There are earlier postings about this subject, which state this is a
> NFS Server problem instead of a TortoiseSVN problem. But I've tested
> this starting with our previous version 1.4.5 until version 1.5.10
> and then the diff does work. But when I installed 1.6.3 the
> functionality stopped working. And so on till 1.6.7. I've also tried
> the nightly build, but that has the same result.
>
> So somewhere between version 1.5.10 and 1.6.3 something changed and
> is causing my current problem. I couldn't find anything useful in the
> Changelog, regarding path lookups. I've also tried the svn
> commandline client 1.6.3 and the command svn diff Y:\test\testfile
> returns the differences between my working copy and the repository.

Try
svn cat Y:\test\testfile
svn cat -r BASE Y:\test\testfile
this is (almost) the same as what TSVN does to show the diff.

> This error only occurs on the NFS shares mounted on windows, doing a
> diff on a local file system works flawlessly.

The reason it doesn't work anymore is that svn (and the apr library)
changed the way it determines whether a path is a file or a folder.

But I think this is fixed on the svn trunk (not sure, haven't tried
since I don't have an NFS share).

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=2513187
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-07 20:03:48 CEST

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.