[Top][All Lists]

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

Re: manual modifications to the repository

From: Larry Jones
Subject: Re: manual modifications to the repository
Date: Wed, 5 Dec 2001 15:56:16 -0500 (EST)

Arcin Bozkurt - Archie writes:
> 1. Copy a directory into another directory
> /cvsroot/a goes to /cvsroot/OtherModule/SubDir/a for example. 
> 2. Manuall edit a 'file,v' to associate a new tag with an old version. 
> 3. Remove some directories, that were created by mistake.
> After these I will make appropriate changes to the 'modules' file for correct 
> access to the stuff we need.
> Does any of these disturb anything in the future?

Not if done correctly.  3 is perfectly safe, both 1 and 2 require care.

In the case of 1, why are you copying the directory?  Do you really want
two completely independent copies of the code in the repository?  If you
are planning to move the directory, it is much better to do just that
rather than to copy the tree and then delete the original.  In either
case, you must ensure that no commits are in progress for the tree
before you begin the move/copy and that no subsequent commits are
allowed until the operation is complete.

In the case of 2, why would you want to do that by hand instead of using
CVS (or even RCS)?  If you do chose to do it by hand (or with RCS rather
than CVS), the same considerations about commits apply as in case 1.

-Larry Jones

When you're as far ahead of the class as I am, it doesn't take much time.
-- Calvin

reply via email to

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