www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/26/06:59:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_SV,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTimoM_T4d-2DrDW4HWXEBJZFUKN1gv1FWvXcQ6yV@mail.gmail.com>
References: <AANLkTimNQjY=wKa-vaKHbYZ0=A=g7xmQA1qZrAC7Fpke AT mail DOT gmail DOT com> <AANLkTimoM_T4d-2DrDW4HWXEBJZFUKN1gv1FWvXcQ6yV AT mail DOT gmail DOT com>
Date: Tue, 26 Oct 2010 06:58:29 -0400
Message-ID: <AANLkTikWnyxE12Z8rG7Ac+LTifQV=fwiSQOqxVgmSNp=@mail.gmail.com>
Subject: Re: Subversion mangling names in .svn/entries metadata file
From: "J.C. Wren" <jcwren AT jcwren DOT com>
To: cygwin AT cygwin DOT com
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

On Sat, Oct 23, 2010 at 12:34 AM, Andy Koppe <andy DOT koppe AT gmail DOT com> wrote:
>
> On 22 October 2010 18:51, J.C. Wren wrote:
> > I updated my Cygwin install a couple days ago, and have ran into a
> > problem with Subversion mangling the .svn/entries file.
> >
> > Before the problem occurred, I had done a 'svn status' with no issues.
> > =A0I committed a file, ran 'svn status' again, and received the
> > following error message:
> >
> > =A0 svn: Error at entry 1 in entries file for '.':
> > =A0 svn: Invalid escape sequence
> >
> > Looking in the .svn/entries file, the first file name should read
> >
> > =A0 =A0 http://amzatlanta.com/svn_amzatlanta/sx_gfm/trunk
> > =A0 =A0 http://amzatlanta.com/svn_amzatlanta/sx_gfm
> >
> > but is actually encoded as
> >
> > =A0 =A0 h\x74\x74p://\x61mz\x61\x74l\x61n\x74\x61.\x63\x6f\x6d/\x73\x76=
n_\x61mz\x61\x74l\x61n\x74\x61/\x73\x78_g\x66\x6d/\x74\x72\x75nk
> > =A0 =A0 h\x74\x74p://\x61mz\x61\x74l\x61n\x74\x61.\x63\x6f\x6d/\x73\x76=
n_\x61mz\x61\x74l\x61n\x74\x61/\x73\x78_g\x66\x6d
> >
> > Attempting to check out the repository into a new directory gives the
> > same error. =A0On another machine with a slightly older install of
> > Cygwin had no issues. =A0I was also able to check it out on a Linux box
> > (I did this to make sure the repository hadn't gotten corrupted
> > somehow).
> >
> > One person in #cygwin speculated it might be a locale issue.
>
> Seems unlikely, as the filenames are entirely within the ASCII range.
> I've got no idea though why selected lowercase characters should have
> been replaced with their hex escape equivalents.
>
> The cygcheck output doesn't look healthy though:
>
> =A0 =A0Cygwin DLL version info:
> =A0 =A0 =A0 =A0DLL version: 1.7.5
>
> cygwin =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1.7.7-1
>
> Also, any chance that TortoiseSVN\bin in the path might interfere? Try
> 'which svn' and 'svn --version' to make sure you're really getting the
> Cygwin version.
>
> $ svn --version
> svn, version 1.6.13 (r1002816)
> =A0 compiled Oct =A04 2010, 09:08:12
>
> Andy
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple

OK, I did several things.  First, I downgraded subversion to 1.6.12
and everything worked.  Then I re-ran the installer and re-installed
the base cygwin package, which should have upgraded the DLL.  It did
not, It was still at 1.7.5.  I'm using setup 2.721,
http://mirrors.kernel.org for the site, the installer says the package
installed is 1.7.7-1.  I then manually deleted the cygwin1.dll and ran
setup.exe again.  THIS time it upgraded the DLL.  The DLL's don't have
any weird permission, so I don't know why it didn't upgrade.  I did
have sshd running, and setup threw a warning that I'd need to reboot.
Maybe something related to that?

Anyway, at this point, I now appear to be able to use subversion
without filename mangling.  I'm just curious why multiple installs of
the cygwin base didn't update the cygwin1.dll.

Very weird!

--jc

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

- Raw text -


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