[openbeos] Re: CVS Help 2 : Return of the Lamer

  • From: "Graham Gilmore" <grahamg@xxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 25 Jan 2002 11:18:58 -0500

>Hi again,
>
>I realise how bad that last email was about the CVS help, I hadn't put 
>any details about my problem in it at all! Man I feel lame now!
>
>Anyhow, here is whats going on:
>
>$ export CVS_RSH=ssh
>$ export 
CVSROOT=mccall@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/open-beos
>$ cd OpenBeOS/ (In here is my Keyboard app folder)
>$ cvs 
-d:pserver:mccall@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/open-beos 
>login  (Logging in to mccall@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
>CVS password: <my password>
>$ cvs -z3 
>-d:pserver:mccall@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/open-beos 
>checkout preferences
>cvs server: Updating preferences
>cvs server: Updating preferences/Workspaces
>U preferences/Workspaces/Workspaces.cpp
>U preferences/Workspaces/Workspaces.rsrc
>U preferences/Workspaces/makefile
>
>I then copy my folder into preferences using tracker.
^^^^^^^^^^^^^^^^^^^^^^^^^^

        There's the culprit right there.

        When you check things out using CVS, it sprinkles your local copy of 
the repository with directories called (strangely enough) "CVS".  It 
uses files in these directories to keep track of how your local copy 
corresponds to the master repository, such as what version you have 
checked out, etc.  When you copied your own folder on top of the one 
that's been checked out, all of those CVS directories inside that folder 
got wiped out and CVS didn't recognize the stuff as being part of the 
repository any more.
        Try copying only the actual files, one directory at a time, rather than 
moving the whole directory.  This should preserve the CVS directories 
and then CVS should behave properly.

        Good luck!

        Graham




Other related posts: