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: Subversion mangling names in .svn/entries metadata file


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


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