[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Circular cleanup/checkout problem using Subversion 1.7

From: Strickland, Stuart <sstrickland_at_carnegielearning.com>
Date: Wed, 14 Dec 2011 15:16:35 -0500

In attempting to pull down a copy of the trunk to my PC, I inadvertently accessed a file in the Subversion repository that was created on a non-Windows machine. The file has a name containing a less-than sign, which is illegal in DOS/Windows. This caused a circular condition in which Svn was unable to complete processing of the checkout, and further cannot execute its cleanup utility. Thus, cleanup cannot run because of a checkout problem; checkout cannot run because of a cleanup problem. Ultimately, the problem really is that the file cannot be renamed to its given, but illegal, name.

Subversion client is TortoiseSVN (1.7.1, Build 22161 – 64 Bit). Windows 7 PC.

Attempting to run a Svn Update causes this to appear:
                Update Failed!
Error Previous operation has not finished; run ‘cleanup’ if it was interrupted
Error Please execute the ‘Cleanup’ command.
The operation failed.

An attempt to cleanup results in this dialog box message:
Cleanup failed to process the following paths:
C:\Users\myusername\svn\trunk\research
Working copy ‘C:\Users\myusername\svn\trunk\research’ locked.
‘C:\Users\myusername\svn\trunk’ is already locked.

Two suggested workarounds -- deleting the working directory, and attempting the cleanup at the trunk level -- have the same results.

I do see that Svn retrieved the file’s contents to a temp folder (C:\users\myusername\svn\.svn\tmp), but cannot rename that to the non-conforming filename.
Do I need to delete my entire working directory? I am essentially dead in the water here, as I cannot do any Subversion work in any directory.
On site, work is being done to rename or delete the offending files, but that will not help me in my local build area on my PC.
Suggestions welcome.



Stuart Strickland
Software Engineer
sstrickland_at_carnegielearning.com
Toll Free: (888) 851-7094 x195
FAX: (412) 690-2444
[http://resources.carnegielearning.com/images/CarnegieLogoGT.png]
Revolutionary Math Curricula. Revolutionary Results.

Carnegie Learning, Inc. | 437 Grant St. 20th Floor | Pittsburgh, PA 15219
www.carnegielearning.com<http://www.carnegielearning.com>

Received on 2011-12-15 03:38:58 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.