[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving, removing, and renaming files in CVS
From: |
Mike Castle |
Subject: |
Re: Moving, removing, and renaming files in CVS |
Date: |
Wed, 24 Jan 2001 13:53:21 -0800 |
User-agent: |
Mutt/1.3.6i |
On Wed, Jan 24, 2001 at 04:07:45PM -0500, Saima Iqbal wrote:
> I wanted to know what repercussions there are to executing a unix
> "mv"
> on a directory in a repository. I just did a unix "rm" on a directory in a
> repository, not in a work space, because the directory name was conflicting
> with
> another one. Is there a reason why the CVS manuals don't mention this as an
> option?
It IS mentioned in the manual. As one of the ways of renaming files.
Far as repercussions?
Well, let's say you have this to start with:
Makefile
foo.c
And Makefile refers to foo.c
You tag that as a release, and then you rename foo.c to bar.c on the
repository.
When you check out on that tag again, to to a bug fix, you get:
Makefile
bar.c
But Makefile still refers to foo.c
Granted, you're in there making bug fixes anyway, probably on a branch. So
is this that big of a deal? Probably not.
But if you've moved the file into a different subdirectory, well, perhaps
it's a bigger issue.
mrc
--
Mike Castle Life is like a clock: You can work constantly
address@hidden and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
- Moving, removing, and renaming files in CVS, Saima Iqbal, 2001/01/24
- Re: Moving, removing, and renaming files in CVS,
Mike Castle <=
- RE: Moving, removing, and renaming files in CVS, Teala Spitzbarth, 2001/01/24
- Re: Moving, removing, and renaming files in CVS, Larry Jones, 2001/01/24