Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-07-11 15:57:15


----- Original Message -----
From: <williamkempf_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, July 11, 2001 2:45 PM
Subject: [boost] CVS - Rename a File

> Because of the case sensitive nature of some environments I have to
> rename several files currently named jamfile to Jamfile in the
> Boost.Threads branch in CVS. I attempted to do this using the
> following command line procedures on a Win2k machine:
>
> > rename jamfile jamfile2
> > cvs remove jamfile
> > cvs commit
> > rename jamfile2 Jamfile
> > cvs add Jamfile
> > cvs commit
>
> The last commit failed (sorry, I didn't capture the error message as
> I should have), and the CVS repository was left with a "phantom
> lock", as some of you may have noticed. :( Now that we've got the
> lock problem I fixed (required intervention by the Sourceforge
> support) I checked out a fresh copy and see that the Jamfile is
> missing entirely.

Well, of course. The cvs remove/commit cycle worked!
'course, you can find it again if you know its version number, or you can
look by date. I think it's in the Attic, too, but you'll have to read up on
how to access it that way.

> I have a few questions concerning this, because I still need to
> change several other jamfile names this way. First, is the procedure
> I used above the right way to do this?

AFAIK, yes.

> If so, are there any ideas why CVS failed for me on this?
> Could it have a problem with adding
> another file with the same name but different case as a file
> previously removed? I'm a little gun shy in trying to rename any of
> these files until I know for sure that I'm doing it correctly. :(

Wish I had a clue; sorry!

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk