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

RE:move/rename in cvs



dman writes:
 > 
 > Sometimes I want to rename cvs-managed files or directories or I want
 > to move a file/dir to a different directory.  The only way I have
 > found, so far, to do that is to go to $CVSROOT and manually change the
 > repository (potentially dangerous) or to remove and add the file
 > accordingly (which loses all metadata such as log and history). 
 > There must be a better way; what is it?

Yes, use a different source code tracking system.  Since CVS is based
on RCS, there's no metadata kept about file movement.  See BitKeeper,
for instance:
http://www.bitkeeper.com/Products.Comparisons.CVS.html

Also see arch, subversion:
http://subversion.tigris.org/

 > Also, is there a way to create new projects other than
 > 'mkdir $CVSROOT/new_proj'?  I can't checkout a project until it
 > exists, and I can't add a directory unless I have a local sandbox
 > (which is created by a checkout).

Sure:

% mkdir blah
% cd blah
% touch afile #optional
% cvs -d<your repository spec here> import me start


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: