info-cvs
[Top][All Lists]
Advanced

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

can i merge 2 repositories?


From: Eric Taylor
Subject: can i merge 2 repositories?
Date: Tue, 29 Jun 2004 17:35:08 -0000

I am just getting started. I have created a few test repositories,
each with one or two modules.


repository one: (/home/test/rep1)

CVSROOT
module-1
module-2

repository two: (/home/test/rep2)

CVSROOT
module-3




Can I simply copy (or move) a repository module
directory from one repository to another? In the above, can I
simply move the module-3 directory (or move it) so, say  I have done this:

mv /home/test/rep2/module-3 /home/test/rep1/.


repository one:

CVSROOT
module-1
module-2
module-3

And then just dispose of repository two.



I understand about having everyone (well just me for now anyway)
check in everything, because their sand boxes would be pointing to
the old locations, so, lets just say, there are no modules checked out
anywhere when I do this.

Now, I've actually done this, and so far I see no obvious problems. I haven't
modified (nor do I really understand) the modules file. I have read
that this is not necessary; that cvs works just fine w/o setting up
a modules file in the repository.

I am just worried that I am missing something and that months
later something terrirble will show up that was spawned by my
hacking of the repository in this way, and I will have an unrepairable mess

As an correlary, is there any real difference between multiple repositories
of one project each, and the same set of  multiple projects all in one 
repository.

thanks
eric








reply via email to

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