Mark Woodward
8/3/2006 1:45:00 PM
Hi Kevin,
On Thu, 03 Aug 2006 01:56:12 +0900, Kevin Ballard wrote:
> It's because #exec replaces the current process with the new one. You
> need to fork and exec in the child (and in the parent, wait until the
> child is done before continuing).
>
> BTW, you might want to look into `svn export`, see if that's usable. The
> entire point of that command is to create a copy of the tree without any
> of the svn metadata (i.e. no .svn folders).
Thanks,
I was aware of 'export' but wanted to do this as a little ruby experiment.
Finally got what I was after which was to backup localhost as a
timestamped folder (eg www03072230) and the includes folder, then delete
everything and copy over the repos.
If all goes well, which it appears to be, I'll work on copying the local
development over to my live host next.
cheers,
--
Mark