On Mar 11, 2009, at 05:50, Talden wrote:
>> On 2009/3/11 Ryan Schmidt wrote:
>>> On Mar 10, 2009, at 21:34, Buddy wu wrote:
>>>> I mean I have two repos, A and B.
>>>> IN A , i have a directory like A/first
>>>> IN B , I have a direcotry like B/second
>>>> then I want' to move repo B to A and merge them , not replace. I
>>>> get the resulet:
>>>> IN A, It should be like A/first;A/second. and the "sencond"
>>>> in repo A should be maitan the history in repo B
>>>> how to do this in subvertion? can it be realized?
>>> Of course:
> There's a caveat though right... The revisions of B are loaded after
> the revisions of A. This means that there is not a single ascending
> date order to the revisions which will break date-based operations.
Right, but that's the only implication as far as I know. If you don't
plan to use any date-based operations, there's no problem. And if you
> I don't think there's a solution to this in Subversion - for a good
> solution to this you probably need to look at one of the distributed
> version control tools and they have their own compromises.
The solution is to dump both repositories and interleave their
revisions as you load them both into a new repository. See the last
paragraph of the link I provided above for two scripts that do this
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-11 19:45:31 CET