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

RE: svn cleanup has problems with recursive cleanup

From: Menschel, Bob [HDS] <Bob.Menschel_at_hdsupply.com>
Date: Tue, 24 Jun 2008 11:48:44 -0400

I've found that when I get into problems due to permissions errors affecting a subdirectory of a working copy, my best solution is to
a) move the affected subdirectory out of the working copy -- put it somewhere else so it becomes invisible to SVN
b) cd to the root of the working copy
c) svn cleanup as necessary
d) svn update, which will recreate a clean subdirectory, with all the correct permissions.
e) manually merge any changes to the subdirectory's files from the previously moved version. Do NOT copy back in any of the .svn control area.
f) svn diff to verify the manual merge
g) svn commit should now work, since the permissions have been fixed.

Bob Menschel
Senior Systems Engineer
HD Supply, Repair & Remodel
3222 Winona Way # 201
North Highlands, CA 95660
Phone: 916-331-5934 x155
Fax: 866-504-2857
email: Bob.Menschel_at_hdsupply.com
website: http://www.hdsupplyrepairandremodel.com

One Team, Driving Customer Success and Value Creation

-----Original Message-----
From: Miha Vitorovic [mailto:mvitorovic_at_nil.si]
Sent: Tuesday, June 24, 2008 6:17 AM
To: users_at_subversion.tigris.org
Subject: svn cleanup has problems with recursive cleanup

Hi all,

I'm having problems with "svn cleanup". Basically if I run the command on the root of the WC I get:

svn: In directory 'swfupload'
svn: Error processing command 'committed' in 'swfupload'
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
details)

(svn help cleanup) does not offer any helpful information, of course :)

but if I

cd swfupload
svn cleanup
cd ..
svn cleanup

that seems to resolve the issue. Which seems unnecessary to me. Running svn cleanup on the root should IMO fix the entire WC, not force the user to travers the WC by himself.

On a related note, after doing all this dance, I am left with:

svn: In directory '.'
svn: Error processing command 'committed' in '.'
svn: Can't move '.svn/props/README.txt.svn-work' to
'.svn/prop-base/README.txt.svn-base': No such file or directory

Any suggestions on how to get out of this one?

SVN is 1.5.0 final. The error occured during the initial commit, because of the problem with permissions on .svn directories.

Br,

---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-24 17:48:51 CEST

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.