This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cygwin's svn appends unwanted .exe to file name on checkout


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
$ ./reproduce.sh
R=file:///C:/svn-test-dr1/repos
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:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Committed revision 1.
Checked out revision 1.
A  (bin)  notepad.xxx
A         text.txt
Adding  (bin)  notepad.xxx
Adding         text.txt
Transmitting file data ..
Committed revision 2.
A    tst/notepad.xxx
A    tst/text.txt
Checked out revision 2.
total 69
-rwxr-xr-x+ 1 802593373 mkgroup-l-d 69120 2010-02-26 20:48 notepad.xxx.exe
-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
Text Document.xxx
hypertrm.xxx

802593373@BTG245549 /cygdrive/c/svn-test-exe
$ svn co file:////cygdrive/c/svn-test-repo direxe
A    direxe/hypertrm.xxx
A    direxe/Text Document.xxx
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 Document.xxx
-rw-r--r--+ 1 802593373 mkgroup-l-d 28160 2010-02-26 21:06 hypertrm.xxx.exe


Thanks again,
Alan Burn


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]