delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/27/19:05:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,BOTNET
X-Spam-Check-By: sourceware.org
Message-id: <4B884EF6.1070506@acm.org>
Date: Fri, 26 Feb 2010 14:45:10 -0800
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin's svn appends unwanted .exe to file name on checkout
References: <B7FD2A676FED46478FC330F30AD8D78D4BB7C5723C AT RDW083V001RVA1 DOT domain1 DOT systemhost DOT net>
In-reply-to: <B7FD2A676FED46478FC330F30AD8D78D4BB7C5723C@RDW083V001RVA1.domain1.systemhost.net>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

--------------030109010203010008020409
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 2/26/2010 1:23 PM, Alan wrote:
> 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.

I'm about out of ideas. The script is working fine for me on two 
different Windows XP machines - one in a domain and one not in a domain, 
if that matters. There must be some kind of environmental difference, 
but I don't know what.

As a last gasp effort, please try the attached (modified) reproduce.sh 
script. It uses an empty user Subversion configuration directory, just 
to rule that out. Please also move /etc/subversion out of the way before 
running it. There are commands to do that at the top and bottom of the 
script, but they're commented out.

If the problem goes away, then we know it's something in the subversion 
configuration files. If it doesn't, then I'm at a loss what to do next.

I know the Cygwin DLL has some "magic" for appending the .exe extension 
and I suspect that's getting in the way here, but I don't know when or 
why it happens.

-- 
David Rothenberger  ----  daveroth AT acm DOT org

Sometimes when I get up in the morning, I feel very peculiar.  I feel
like I've just got to bite a cat!  I feel like if I don't bite a cat
before sundown, I'll go crazy!  But then I just take a deep breath and
forget about it.  That's what is known as real maturity.
                 -- Snoopy

--------------030109010203010008020409
Content-Type: text/plain;
 name="reproduce.sh"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="reproduce.sh"

IyEvYmluL2Jhc2gKCiNpZiBbIC1kIC9ldGMvc3VidmVyc2lvbiBdOyB0aGVu
CiMgIG12IC9ldGMvc3VidmVyc2lvbiAvZXRjL3N1YnZlcnNpb24uZGlzYWJs
ZWQgfHwgZWNobyAiQ2Fubm90IG1vdmUgL2V0Yy9zdWJ2ZXJzaW9uIgojZmkK
CnJtIC1mciByZXBvcyB0cnVuayB0c3QgY2ZnCm1rZGlyIGNmZwoKUj1maWxl
Oi8vLyQoY3lncGF0aCAtdWEgLikvcmVwb3MKQ0ZHPSIkKGN5Z3BhdGggLXVh
IGNmZykiCmVjaG8gIlI9JFIiCgojIENyZWF0ZSB0aGUgcmVwb3NpdG9yeQpz
dm5hZG1pbiBjcmVhdGUgcmVwb3MKCiMgQ3JlYXRlIHRoZSB0cnVuawpzdm4g
bWtkaXIgLS1jb25maWctZGlyICRDRkcgLW0gJycgIiRSL3RydW5rIgpzdm4g
Y28gLS1jb25maWctZGlyICRDRkcgIiRSL3RydW5rIgoKIyBBZGQgYW4gRVhF
IGFuZCBhIFRYVCBmaWxlCmNkIHRydW5rCmNwICIkKGN5Z3BhdGggLVd1YSki
L25vdGVwYWQgbm90ZXBhZC54eHgKZGF0ZSA+IHRleHQudHh0CnN2biBhZGQg
LS1jb25maWctZGlyICRDRkcgKgpzdm4gY2kgLS1jb25maWctZGlyICRDRkcg
LW0gJycKCiMgQ2hlY2sgb3V0IGludG8gYW5vdGhlciBkaXJlY3RvcnkKY2Qg
Li4Kc3ZuIGNvIC0tY29uZmlnLWRpciAkQ0ZHICIkUi90cnVuayIgdHN0CmNk
IHRzdApscyAtbAoKI212IC9ldGMvc3VidmVyc2lvbi5kaXNhYmxlZCAvZXRj
L3N1YnZlcnNpb24K


--------------030109010203010008020409
Content-Type: text/plain; charset=us-ascii

--
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
--------------030109010203010008020409--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019