info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Merging contents of two repositories into a single one.


From: Paul Sander
Subject: Re: Merging contents of two repositories into a single one.
Date: Thu, 11 Nov 2004 09:53:11 -0800

Don't forget to merge your modules and *info databases. These must be done by hand.

On Nov 11, 2004, at 3:57 AM, address@hidden@dewire.kom wrote:

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

_______________________________________________
Info-cvs mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/info-cvs





reply via email to

[Prev in Thread] Current Thread [Next in Thread]