Cygwin's svn appends unwanted .exe to file name on checkout
Fri Feb 26 21:23:00 GMT 2010

Hi Dave,

Thanks for helping.

> > A windows exe file is checked into a svn repository and the 
> file name 
> > does not end in .exe. On checkout .exe is appended to the file name 
> > even though subversion output shows the expected file name.
> I cannot reproduce this problem. I used the notepad.exe 
> executable that came with Windows XP as my exe. I've attached 
> my attempt to reproduce the problem as a script. Would you 
> run it in a new directory and report the output?

Done. The script reproduces the problem on two machines. One of my colleagues also has the problem on a third machine.

Here is the output from my work machine:

802593373@BTG245549 /cygdrive/c/svn-test-dr1
$ ./
cygwin warning:
  MS-DOS style path detected: C:/svn-test-dr1/repos/format
  Preferred POSIX equivalent is: /cygdrive/c/svn-test-dr1/repos/format
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:

Committed revision 1.
Checked out revision 1.
A  (bin)
A         text.txt
Adding  (bin)
Adding         text.txt
Transmitting file data ..
Committed revision 2.
A    tst/
A    tst/text.txt
Checked out revision 2.
total 69
-rwxr-xr-x+ 1 802593373 mkgroup-l-d 69120 2010-02-26 20:48
-rw-r--r--+ 1 802593373 mkgroup-l-d    31 2010-02-26 20:48 text.txt

> > file:///C:/svn-test-repo
> At first, I was suspicious of the URL, thinking that the DOS 
> syntax was causing an issue, but that didn't turn out to be 
> the case. Nevertheless, I suggest you try the Cygwin-style 
> for your URL:
> file:///cygdrive/c/svn-test-repos

I did as you asked and the problem still occurs. When we originally came across this we were using Cygwin paths.

The output:

802593373@BTG245549 /cygdrive/c/svn-test-exe
$ svn list file:////cygdrive/c/svn-test-repo

802593373@BTG245549 /cygdrive/c/svn-test-exe
$ svn co file:////cygdrive/c/svn-test-repo direxe
A    direxe/
A    direxe/Text
Checked out revision 2.

802593373@BTG245549 /cygdrive/c/svn-test-exe
$ ls -l direxe
total 29
-rwxr-xr-x+ 1 802593373 mkgroup-l-d    46 2010-02-26 21:06 Text
-rw-r--r--+ 1 802593373 mkgroup-l-d 28160 2010-02-26 21:06

Thanks again,
Alan Burn

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list