[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: frumpel <potucek-nabble_at_artiverse.net>
Date: Mon, 7 Sep 2009 09:03:42 -0700 (PDT)

I still see this same problem on 1.6.4 / Linux. Interestingly this seems to
be a confusion about how to handle subdirectories. Given:

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

The following will solve the problem:

$ cd dlgbar/res
dlgbar/res $ svn cleanup
dlgbar/res $ cd ../
dlgbar $ svn cleanup
dlgbar $ cd ..
$ svn cleanup

Note that the last command is the same command that previously failed ...
but what I really don't understand is that this will also fail:

$ svn cleanup dlgbar/res

HTH,

  Rudolf

Menschel, Bob [HDS] wrote:
>
> 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
>
>
>

-- 
View this message in context: http://www.nabble.com/svn-cleanup-has-problems-with-recursive-cleanup-tp18090789p25332709.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2391997
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-07 18:07:32 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.