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

Re: copying subdirectories in subversion 1.7

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 25 Jul 2011 16:18:49 -0400

On Mon, Jul 25, 2011 at 4:14 PM, Hyrum K Wright
<hyrum.wright_at_wandisco.com>wrote:

> Because it interests me, I implemented a simple 'detach' script, which
> you can find here:
>
> http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/detach.py
>
> It's very hacky, and I do, of course, disclaim any harm which may come
> to your data which may come as a result of using this script. I am
> interested in any bug reports, however.
>

Thanks Hyrum. It worked great for me on OSX.

Only request might be some kind of output while it is running. Maybe some
kind of message as it processes each folder.

The command copies a subdirectory and its children from one WC to a new
location to create a new WC. This is exactly how I think it should work as
I can always go back to the original WC and run --set-depth=exclude if I
wanted to remove the content from the source WC. I wonder if people will
expect a script named "detach" to copy or do they think it will move?

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-07-25 22:19:24 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.