[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to retain revision history when copying files from one cvs proje
Re: How to retain revision history when copying files from one cvs project to another?
Fri, 3 May 2002 09:49:43 -0700
On Wednesday, May 1, 2002, at 02:36 PM, address@hidden wrote:
We have all our source code in the CVS repository as
one project. Now we want to start a new project in
CVS. But we will be requiring files from the existing
project into the new project. How can we copy/move the
files over to the new project without losing their
revision history? Is there a way to do this?
Does the cvs import command work for doing this?
Please let me know if anyone has an answer.
To preserve revision history, you must carry the RCS files from the old
project to the new project. If the two projects are in the same
repository, and you expect to do a lot of cross-merging, then you can
define the new project's module in such a way that the RCS files are
shared. The trick here is that the shared code must be completely
contained within a directory tree that also contains nothing else.
Otherwise, you should copy the RCS files by hand from their present
location in the repository to the new location.