svndumpfilter and subtrees
From: Jeremy Mordkoff <jlm_at_ZeeVee.Com>
Date: Fri, 20 Aug 2010 16:38:13 -0400
I have a repository with multiple projects that used to be branched in
Current tree
zcode/
zcode/trunk/comp1
zcode/trunk/comp2
zcode/branches
zcode/branches/rel_1/comp1
zcode/branches/rel_1/comp2
zcode/branches/rel_2/comp1
zcode/branches/rel_2/comp2
except there are actually 11 components, with 8 staying and 3 migrating
One option (I think) would be to move comp2 to the top using a perl
zcode/
zcode/trunk/comp1
zcode/branches
zcode/branches/rel_1/comp1
zcode/branches/rel_2/comp1
ccode/
ccode/trunk
ccode/trunk/comp2
ccode/branches
ccode/branches/rel_1/comp2
ccode/branches/rel_2/comp2
And then filter on zcode vs ccode:
svnadmin create repos/ccode
svnadmin dump repos/zcode | perl -p -e 's-Nodepath:
svnadmin create repos/zcode2
svnadmin dump repos/zcode | perl -p -e 's-Nodepath:
My concern here is how do directories like /ccode/trunk and
I cannot simply clone the repos and then selectively delete as the new
Are there any other options?
JLM
Jeremy Mordkoff
Director, QA, IT & Release
ZeeVee, Inc.
One Monarch Drive | Littleton, MA 01460
Office: 978.467.1395 x233 | Fax: 978.467.1404
Mobile: 978-257-2183
jlm_at_zeevee.com <mailto:jlm_at_zeevee.com>
www.zeevee.com <http://www.zeevee.com/>
|
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.