[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:

And Makefile refers to foo.c
You tag that as a release, and then you rename foo.c to bar.c on the
When you check out on that tag again, to to a bug fix, you get:
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.

       Mike Castle       Life is like a clock:  You can work constantly
  address@hidden  and be right all the time, or not work at all and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]