delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.0 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
From: | <alan DOT burn AT bt DOT com> |
To: | <cygwin AT cygwin DOT com> |
Date: | Fri, 26 Feb 2010 21:23:15 +0000 |
Subject: | RE: Cygwin's svn appends unwanted .exe to file name on checkout |
Message-ID: | <B7FD2A676FED46478FC330F30AD8D78D4BB7C5723C@RDW083V001RVA1.domain1.systemhost.net> |
In-Reply-To: | <4B87FDF3.3090408@acm.org> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi Dave, Thanks for helping. > > A windows exe file is checked into a svn repository and the=20 > file name=20 > > does not end in .exe. On checkout .exe is appended to the file name=20 > > even though subversion output shows the expected file name. >=20 > I cannot reproduce this problem. I used the notepad.exe=20 > executable that came with Windows XP as my exe. I've attached=20 > my attempt to reproduce the problem as a script. Would you=20 > run it in a new directory and report the output? Done. The script reproduces the problem on two machines. One of my colleagu= es also has the problem on a third machine. Here is the output from my work machine: 802593373 AT BTG245549 /cygdrive/c/svn-test-dr1 $ ./reproduce.sh R=3Dfile:///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 warn= ing. 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 >=20 > At first, I was suspicious of the URL, thinking that the DOS=20 > syntax was causing an issue, but that didn't turn out to be=20 > the case. Nevertheless, I suggest you try the Cygwin-style=20 > for your URL: > file:///cygdrive/c/svn-test-repos I did as you asked and the problem still occurs. When we originally came ac= ross this we were using Cygwin paths. The output: 802593373 AT BTG245549 /cygdrive/c/svn-test-exe $ svn list file:////cygdrive/c/svn-test-repo Text Document.xxx hypertrm.xxx 802593373 AT 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 AT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |