On Sep 22, 2012, at 13:26, Alexei Baranov wrote:

> I suppose SVN library for Windows has a bug. I've created file named 
> PRN.RPGLE in working copy on my IBM i system. This file was successfully 
> committed to SVN server. Next, I've tried to check it out to working copy on 
> my Windows PC. Checkout operation was finished with error "Can't move 
> 'C:\alfa03svn\.svn\tmp\svn-7499C3F2' to 'C:\alfa03svn\PRN.RPGLE': Unable to 
> create file because it is already exists". But there is no PRN.RPGLE file in 
> destination directory. The problem was fixed by renaming PRN.RPGLE to 
> PRN#.PRGLE in repository, after this PRN#.RPGLE was checked out successfully. 
> I suppose the problem related with special name PRN (printer device in 
> Windows). I've tried to play with another special name - CON, and I've got 
> the same error.
> 
> Has anyone meet the same problem? Who can report this bug to Subversion bug 
> tracker?
> 
> Windows XP SP3, TortoiseSVN 1.7.8, same problem with SlikSVN 1.7.6

It's not a bug in Subversion; it's a "feature" (or at least a reality that's 
unlikely to change) of the Windows operating system. On Windows, you may not 
create a file whose name is "PRN", with any extension.

According to Wikipedia, the list of filenames you may not use on Windows (with 
any extension) includes:

CON, PRN, AUX, CLOCK$, NUL
COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9
LPT0, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. 

http://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words


Reply via email to