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

Re: SVN trying to open unexisting file/directory

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 02 Feb 2010 19:24:30 +0100

On 01.02.2010 22:51, Julien-Charles Lévesque wrote:
> Hey there,
>
> I have been using TortoiseSVN quite flawlessly for many years, but I
> have stumbled upon a problem where it tries to open a directory that
> doesn't exist.
>
> It happens in the Commit window. I have the list of modified files
> showing up and if I right click one file and select "Compare with base",
> nothing happens. If I right click and select "Show differences as
> unified diff", I get an error window saying :
>
> Can't open file
> 'D:\Work\Image-SVN\...\
> Include\Entite.h\.svn\entries':
> The directory name is invalid.
>
> Now... I know for one thing that there is no directory under 'Entite.h'.
> It is a file. The same will happen for any file in my repository.
>
> I am running the latest TortoiseSVN version available from website :
>
>
> Version 1.6.7
>
> 2009/12/09 10:28:44 (r17895)
>
>
> I am running Windows XP SP3. One thing that could be messing up with
> Tortoise is that I am trying to do this stuff on a ext3 partition. I am
> reading it using driver Ext2Fsd, which hasn't caused me any trouble (so
> far).
>
> Sooo.. does this sound familiar to you guys ? I have found a bug
> somewhere regarding cygwin svn giving the same error messages but I
> don't have cygwin installed.

Yes, sounds familiar.
Problem is that Ext2Fsd doesn't return the proper values for certain
filesystem API calls. The ones the svn library uses to determine whether
a path is a file or a folder here is the problem. Subversion doesn't get
the proper return value, so it treats the file as a folder and that
leads to the error message.
This has to be fixed in Ext2Fsd.

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=2444235
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-02 19:24:44 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.