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

RE: The Directory Name Is Invalid

From: Wolfgang Stengel <wolfgang.stengel_at_efactory.de>
Date: Fri, 18 Sep 2009 03:00:39 -0700 (PDT)

Working with a working copy mounted via NFS I experience the same problem with diffs. When trying to access the .svn/entries file Subversion seems to not correctly deduce the folder containing the file in question (please see screenshot, I double clicked on the file to see the changes).

I first thought this is a problem with Tortoise but the code in the commit dialog CCommitDlg and the list control CSVNStatusListCtrl is pretty much generic. When it comes down to files and paths Tortoise uses functions like svn_wc_get_pristine_copy_path and svn_path_internal_style from the Subversion library. Is it possible that one of these functions creates a problem when dealing with NFS paths on Windows? As far as I've seen, there is no special file system dependent method for deducing the folder name of a path, it's just a plain search for a slash beginning at the end of a string. It could be a backslash problem, bit there are functions for dealing with that, and samba mounted from the same linux server works fine too (but samba is a pain in the ass in just about every other way).

Also, why does .svn/entries need checking prior to creating a diff?

With Regards,
Wolfgang

tortoise_with_nfs_working_copy.gif
Received on 2009-09-18 12:02:42 CEST

This is an archived mail posted to the Subversion Users mailing list.

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