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

Re: Cleanup could not process the following paths

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 22 Sep 2008 16:32:03 +0100

On Mon, 2008-09-22 at 16:42 +0200, Olivier Lefevre wrote:
> Hi Julian,
>
> > I am not quite sure what you mean. Do you mean "svn" prints the message
> > "Cleanup could not process the following paths" and then does not print
> > a list of paths?
>
> Tortoise SVN pops up a dialog with that message (attached) and, yes, it
> provides only the path given in the cleanup command, not the path to the
> problem file.
>
> > I cannot find the message "Cleanup could not process the following
> > paths" in the current trunk source code (r33237). What version are you
> > using? What is the exact message, if different?
>
> They did not say this message comes out of SVN: it is probably one of their
> own error strings. What they said is that SVN does not provide an accurate
> diagnostic, forcing them to post this rather uninformative message instead.

OK. In that case, it might be easier for a TortoiseSVN developer to give
us the necessary details.

> > Do you know how to produce this error on demand? If so, please let us
> > know, so we can have a look at it.
>
> It's totally reproducible: mess up the permissions of a .svn tree to keep
> the SVN client (Tortoise in this case) out of it and then request a cleanup
> of the directory just above that .svn tree: it will fail.

I'm sorry, but I tried and failed. This is what I tried:
[[[

> $ mkdir svn-olivier
>
> $ cd svn-olivier
>
> $ svnadmin create repo
>
> $ svn checkout file:///home/julianfoad/tmp/svn-olivier/repo wc
> Checked out revision 0.
>
> $ cd svn-olivier/wc/
>
> $ ls -la
> total 12
> drwxr-xr-x 3 julianfoad 4096 2008-09-22 16:11 ./
> drwxr-xr-x 4 julianfoad 4096 2008-09-22 16:11 ../
> drwxr-xr-x 6 julianfoad 4096 2008-09-22 16:11 .svn/
>
> $ chmod -r .svn
>
> $ ls -la
> total 12
> drwxr-xr-x 3 julianfoad 4096 2008-09-22 16:11 ./
> drwxr-xr-x 4 julianfoad 4096 2008-09-22 16:11 ../
> d-wx--x--x 6 julianfoad 4096 2008-09-22 16:11 .svn/
>
> $ svn cleanup .
>
> $ chmod -x .svn
>
> $ ls -la
> total 12
> drwxr-xr-x 3 julianfoad 4096 2008-09-22 16:11 ./
> drwxr-xr-x 4 julianfoad 4096 2008-09-22 16:11 ../
> d-w------- 6 julianfoad 4096 2008-09-22 16:12 .svn/
>
> $ svn cleanup .
> svn: Can't open file '.svn/entries': Permission denied

]]]

That last attempt failed with an error message that tells which file it
couldn't open, which is just the kind of information you want.

Sorry if I didn't do what you meant. It would be clearer if you could
give an exact transcript of the commands to use to reproduce the issue.

Ah, I've just remembered that, as Tortoise runs only on Windows,
anything to do with "permissions" is going to be handled differently
than under a Unix-like OS like I use. It might or might not be possible
to get the same result that you did. If it's a Windows-specific case, I
won't be able to reproduce it.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-22 17:32:24 CEST

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

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