Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge multiple CVS projects into one

Tags:

cvs

I have several related CVS projects, and I'd like to move them into subdirectories of a single new project.

Let's assume that everyone using the projects will delete their working copies before I make the change. Is it safe to just go into the repository directory and move the directories, as suggested in the manual? Do I need to do anything else?

It's very important that I preserve the files' history, so I don't want to just delete and re-commit them in the new location.

like image 966
JW. Avatar asked Feb 12 '26 09:02

JW.


1 Answers

Doing modifications in the CVS repository is standard practice. However, instead of moving the directories, consider copying them (this is called a repocopy), and then deleting the files in their original locations through normal CVS commands. In this way even your change will be recorded as part of the history.

Needless to say, keep a full backup of your CVS files before you do any changes,

like image 195
Diomidis Spinellis Avatar answered Feb 15 '26 13:02

Diomidis Spinellis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!