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: References: Date: Tue, 26 Oct 2010 06:58:29 -0400 Message-ID: Subject: Re: Subversion mangling names in .svn/entries metadata file From: "J.C. Wren" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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