Subversion mangling names in .svn/entries metadata file

J.C. Wren jcwren@jcwren.com
Tue Oct 26 11:02:00 GMT 2010


On Sat, Oct 23, 2010 at 12:34 AM, Andy Koppe <andy.koppe@gmail.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.
> >  I committed a file, ran 'svn status' again, and received the
> > following error message:
> >
> >   svn: Error at entry 1 in entries file for '.':
> >   svn: Invalid escape sequence
> >
> > Looking in the .svn/entries file, the first file name should read
> >
> >     http://amzatlanta.com/svn_amzatlanta/sx_gfm/trunk
> >     http://amzatlanta.com/svn_amzatlanta/sx_gfm
> >
> > but is actually encoded as
> >
> >     h\x74\x74p://\x61mz\x61\x74l\x61n\x74\x61.\x63\x6f\x6d/\x73\x76n_\x61mz\x61\x74l\x61n\x74\x61/\x73\x78_g\x66\x6d/\x74\x72\x75nk
> >     h\x74\x74p://\x61mz\x61\x74l\x61n\x74\x61.\x63\x6f\x6d/\x73\x76n_\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.  On another machine with a slightly older install of
> > Cygwin had no issues.  I 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:
>
>    Cygwin DLL version info:
>        DLL version: 1.7.5
>
> cygwin                         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)
>   compiled Oct  4 2010, 09:08:12
>
> Andy
>
> --
> 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

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



More information about the Cygwin mailing list