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

Re: How to clean the working dir from .svn folders ?

From: Damien Mistic <mistic100.forever_at_hotmail.fr>
Date: Tue, 26 Jul 2011 12:27:10 +0200

Hello,
as svn is the owner of .svn directories I suppose it can delete them.
More over according to my experience process launched into exec() have more
rights that other php functions.

For help here is my possible workflow :
checkout
some commits
delete the working directory

I'm in local on Windows for the moment, I'm going to install a local FTP
server to check the rights of the files.
But they are created by svn, in my mind it could delete them.

Damien.

-----Message d'origine-----
From: Thorsten Schöning
Sent: Tuesday, July 26, 2011 9:27 AM
To: users_at_subversion.apache.org
Subject: Re: How to clean the working dir from .svn folders ?

Guten Tag Damien Mistic,
am Dienstag, 26. Juli 2011 um 00:00 schrieben Sie:

> Warning: unlink(svn/.svn/all-wcprops) [function.unlink]: Permission denied
> in C:\wamp\www\lang_editor\include\functions.inc.php on line 325

If you don't have permission executing unlink on those files, doing it
within exec won't change a thing, right? The permissions stay the same,
however they look like for your webserver.

> And the 'export' function is not what I want because my aim is to delete
> the
> folder, not really get a clean copy.

But what is the difference between having a functional working copy,
destroy it by deleting the .svn folders and a clean export, which is
designed to make exactly what you want? Maybe you should describe your
scenario a bit more.

> If there is no way I think we must add a new function to SVN, such as 'svn
> unlink' or 'svn dissociate'

And what will this change if your error is permissions on the
.svn-folders and files in there?

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening_at_am-soft.de
Web:     http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Received on 2011-07-26 12:27:48 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.