[ On Wednesday, September 19, 2001 at 18:39:19 (+0200), Alexander Welti wrote: ]
> Subject: Re: renaming a directory in the checkout / recursive add and commit for all
>subdirs
>
> i received a really cool trick for my problem:
> go to the repository directly (have a backup copy)
> rename the desired directory;
> do a fresh checkout and everything works fine;
That "stupid hack" will destroy any possibility of retrieving past revisions.
It will also disrupt current working directories somewhat.
The correct procedure (as documented in the manual) is to:
1. create the new directory
2. move all the files from the old directory to the new one
3. "cvs rm *" in the old directory
4. "cvs add newdir"
5. "cd newdir; cvs add *"
6. "cvs commit" at the root of the working directory and give a
commit message that identifies exactly what you've done.
--
Greg A. Woods
+1 416 218-0098 VE3TCP <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>; Secrets of the Weird <[EMAIL PROTECTED]>
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs