[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: renaming a directory in the checkout / recursive add and commit for
From: |
Greg A. Woods |
Subject: |
Re: renaming a directory in the checkout / recursive add and commit for all subdirs |
Date: |
Wed, 19 Sep 2001 15:09:32 -0400 (EDT) |
[ 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 <address@hidden> <address@hidden>
Planix, Inc. <address@hidden>; Secrets of the Weird <address@hidden>
- renaming a directory in the checkout / recursive add and commit for all subdirs, Alexander Welti, 2001/09/18
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, John Minnihan, 2001/09/18
- Message not available
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Alexander Welti, 2001/09/19
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs,
Greg A. Woods <=
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Paul Sander, 2001/09/19
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Greg A. Woods, 2001/09/19
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Paul Sander, 2001/09/21
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Greg A. Woods, 2001/09/21
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Paul Sander, 2001/09/21
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Greg A. Woods, 2001/09/21
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Paul Sander, 2001/09/21
- Re: renaming a directory in the checkout / recursive add and commit for all subdirs, Greg A. Woods, 2001/09/21