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
[EMAIL PROTECTED] 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
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs