You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Henrik Holmboe <el...@hack.se> on 2003/04/15 08:04:58 UTC

FAT32 svn errors

Hi devs,

 I'm experiencing problem checking out to FAT32 filesystems, while
 doing the same operation to NTFS is working without problems. This is
 on Windows XP SP1. The server is running on Linux over ra_dav and is
 Subversion 0.20.1, Apache 2.0.44, Berkeley DB 4.1.25 (all from
 http://people.debian.org/~cjwatson/subversion-woody).

 Versions used:

*****

D:\home\Local>svn --version
svn, version 0.20.0 (r5410)
   compiled Mar 24 2003, 22:54:20

E:\> svn --version
svn, version 0.20.1 (r5467)
   compiled Mar 30 2003, 22:22:00

*****

 Here is a running transcript:

****

D:\home\Local\repos>svn co https://svn.foo.se/repos/projects/trunk projects

elements's password: *
A  projects/Files
A  projects/Files/foo.txt
A  projects/Files/bar.txt
A  projects/WebWare
svn: The process cannot access the file because it is being used by another process.
svn: could not add directory
svn: svn_io_file_rename: can't move 'projects/WebWare/Anyways/.svn/tmp/entries' to 'projec
ts/WebWare/Anyways/.svn/entries'

D:\home\Local\repos>svn co https://svn.foo.se/repos/projects/trunk projects

elements's password: *
svn: The process cannot access the file because it is being used by another process.
svn: svn_io_file_rename: can't move 'projects/.svn/tmp/README' to 'projects/.svn/README'

D:\home\Local\repos>svn co https://svn.foo.se/repos/projects/trunk projects

elements's password: *
svn: Cannot create a file when that file already exists.
svn: svn_io_dir_make: can't create directory 'projects/.svn/text-base'

D:\home\Local\repos>

****

-- 
  __________________________   _____________________________________
 /______________________    | [Henrik Holmboe, Stockholm, Sweden    ]
|    _________________ /|   | [Email  : henrik.holmboe[at]hack.se   ]
|   | |_______________|_|   | [Web    : http://elements.hack.se     ]
|   |/______________________| [IRC    : elements, irc.du.se (EFnet) ]
|__________________________/  [Cell   : +46 (0)8 2281884            ]
[ Network Engineer             OpenPGP: 0x723D4FFF                  ]
[ Planet X Systems, www.pxs.se "Carpe Noctem" -- H. Holmboe, 1995   ]

Re: FAT32 svn errors

Posted by Branko Čibej <br...@xbc.nu>.
Branko Čibej wrote:

>Henrik Holmboe wrote:
>
>  
>
>>Hi devs,
>>
>>I'm experiencing problem checking out to FAT32 filesystems, while
>>doing the same operation to NTFS is working without problems. This is
>>on Windows XP SP1.
>>
>>    
>>
>
>Sigh, yes... I haven't tested on FAT in a looong time, and the last time
>I did, I had problems, too. I think we're assuming a rename over an
>existing target is allowed. It's not, on FAT.
>
Duh, stupid me. That's not allowed on *any* Windows filesystem by default.

>I don't know whether this is something that should be fixed in APR or in
>svn_io_file_rename.
>  
>

Hmm. Looking at the code, APR is working correctly. So it seems like
we're trying to rename over a file that we still have a handle to. I
dunno why that would work in NTFS but not on FAT.


-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: FAT32 svn errors

Posted by Branko Čibej <br...@xbc.nu>.
Henrik Holmboe wrote:

>Hi devs,
>
> I'm experiencing problem checking out to FAT32 filesystems, while
> doing the same operation to NTFS is working without problems. This is
> on Windows XP SP1.
>

Sigh, yes... I haven't tested on FAT in a looong time, and the last time
I did, I had problems, too. I think we're assuming a rename over an
existing target is allowed. It's not, on FAT.

I don't know whether this is something that should be fixed in APR or in
svn_io_file_rename.


-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org