On Tue, Jun 29, 2010 at 1:55 PM, Bob Archer <Bob.Archer_at_amsi.com> wrote:
>> I have a repository with 1 project, and some of the directories
>> contain code that I would like to maintain separately, so when
>> someone
>> makes changes, or wants to make a branch, or tag, I don't have to
>> take all directories (include those I didn't modify), so, how can I
>> do
>> that?
>>
>>
>> repo/
>> tags/
>> branches/
>> trunk/
>> dirA
>> dirB
>> (...)
>> dirN
Make a tag with what you want moved to it. Lock down that tag. Do an
export of that tag into a working copy of the trunk of a clean, new
repository, and start with a clean new history. Alternatively, simply
copy over the components you want to the new working copy and "add"
them there.
The vagaries of negotiating the 'svndumpfilter' for a dump and load
operation, to re-arrange the components correctly, and keep out
undesired bits but keep only the bits you want, generally do not
justify the effort needed. You can drop in a "README" file saying
where the new repository came from, but the eternal logging features
of Subversion are often burdensome for transferring select material
into a new working repository or internal location.
Received on 2010-06-30 02:46:41 CEST