[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Merging contents of two repositories into a single one.
From: |
Robin Rosenberg |
Subject: |
Re: Merging contents of two repositories into a single one. |
Date: |
Thu, 11 Nov 2004 11:57:01 GMT |
User-agent: |
KNode/0.8.0 |
Ivan Teliatnikov wrote:
> Hi there,
>
> Historically I have two CVS repositories located on the same CVS server.
>
> /opt/cvs/cvs1
> /opt/cvs/cvs2
>
> Each location has a number of independent projects.
>
> Is is possible to merge the two CVS locations into one without loosing
> history information?
Yes. Every file is standalone. Just copy the content of cvs2 into cvs1. and
merge CVSROOT manually.For those that has a ,v file you check out and make
the changes. The other file can be merged using using a text editor.
history can be merged using cat and sort.
cat /opt/cvs/cvs1/CVSROOT/history /opt/cvs/cvs2/CVSROOT/history|sort >tmp
mv tmp /opt/cvs/cvs1/CVSROOT/history
-- robin