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

Re: copy --depth option?

From: Peter Samuelson <peter_at_p12n.org>
Date: Fri, 27 Mar 2009 19:06:35 -0500

[Jack Bates]
> Given that the copy subcommand does not support --depth, what is the
> correct way to create a "sparse branch"? Is there a way to create a
> sparse branch? Is it a mistake to create sparse branches?

The usage question belongs on users_at_subversion.tigris.org. But you
also have a feature request, so I'll just say that I'm not sure why you
need a sparse branch - it's not like a fully populated branch takes
significantly more space on the server - and if you want to save space
on the client, we support sparse checkouts.

Aaanyway, if I wanted to do that, I'd use 'svnmucc' from our
tools/client-side/ directory:

  svnmucc -m 'Create sparse branch' -U http://example.com/repos \
    cp 3850 src/trunk src/branch1 \
    rm src/branch1/doc/pdf \
    rm src/branch1/binaries

I haven't tried it but it seems like it should work fine.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Received on 2009-03-28 01:06:44 CET

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.