How to clean the working dir from .svn folders ?

2011-07-25 Thread Damien Mistic
Hi all, so my problem is clear : I've a working dir and I want to clean it up from all .svn folders, how to ? Knowing that I'm working un CLI within exec() function of PHP. Unfortunately I can't delete manually files and folders : Warning: unlink(svn/.svn/all-wcprops) [function.unlink]: Permis

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

2011-07-25 Thread Bob Archer
> Hi all, > so my problem is clear : I've a working dir and I want to clean it > up from > all .svn folders, how to ? > Knowing that I'm working un CLI within exec() function of PHP. > Unfortunately > I can't delete manually files and folders : > > Warning: unlink(svn/.svn/all-wcprops) [function.u

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

2011-07-26 Thread Thorsten Schöning
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

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

2011-07-26 Thread Markus Schaber
Hi, Thorsten, Von: Thorsten Schöning [mailto:tschoen...@am-soft.de] > > 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 >

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

2011-07-26 Thread Damien Mistic
che.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 3

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

2011-07-26 Thread Geoff Hoffman
I believe you can use a bash script similar to the following, but you may need to set a flag from PHP so that cron running as root or admin has permission to delete them. Hope it helps- #!/bin/sh echo "recursively removing .svn folders from" pwd rm -rf `find . -type d -name .svn`

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

2011-07-26 Thread Geoff Hoffman
> > > *From:* Geoff Hoffman > *Sent:* Tuesday, July 26, 2011 4:05 PM > *To:* users@subversion.apache.org > *Subject:* Re: How to clean the working dir from .svn folders ? > > I believe you can use a bash script similar to the following, but you may > need to set a

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

2011-07-26 Thread Geoff Hoffman
>> *From:* Geoff Hoffman >> *Sent:* Tuesday, July 26, 2011 4:05 PM >> *To:* users@subversion.apache.org >> *Subject:* Re: How to clean the working dir from .svn folders ? >> >> I believe you can use a bash script similar to the following, but you may >>

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

2011-07-26 Thread Les Mikesell
On 7/26/2011 9:58 AM, Geoff Hoffman wrote: Ah - I thought someone mentioned cygwin ... sorry. Could you create a PHP script specifically for this? There are lots of recursive directory walk scripts online. I'm sure you have a reason why svn export won't work but are you certain? That's what it's

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

2011-07-26 Thread Geoff Hoffman
On Tue, Jul 26, 2011 at 9:27 AM, Damien Mistic wrote: > And I maintain the final aim is absolutely not the same as ‘export’ does. > If you say so. I'm not sure how that could be possible given my understanding of the svn export command. Anyway, glad you got it sorted out!