[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: problems adding directory to repository

From: Wu Yongwei
Subject: Re: Newbie: problems adding directory to repository
Date: Fri, 15 Aug 2003 10:09:15 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Jesse Sheidlower wrote:

The basic problem is that I had taken a specific program, and directory, called and Book/ and then generalized it and
renamed them to and MyDatabase/ . In my dev sandbox, I
have this directory called MyDatabase/ and there are a bunch of
programs underneath it that used to be in Book/ . But I can't seem to
get this directory onto the working server. When I go to the working
sandbox and type "cvs update", it doesn't create MyDirectory/ or
anything underneath it; it's the same when I deleted the entire
sandbox and did a "cvs checkout" from scratch.

Yet in the development sandbox, it certainly thinks it's there-- when
I type "cvs add MyDatabase/" or "cvs add [any of the programs under
MyDatabase/]" I get messages like "there is a version in MyDatabase
already" or " already exists, with version number 1.3".

Renaming the directories (or files) locally is far from enough.  It even
should never be done.  Check the CVS/Repository file and you should know
that CVS never knows your local change (and how could it know? you did
not inform it, did you?).  It still "thinks" the files are in the
MyDatabase directory (regardless of your local directory name).

The simple rule is never to rename.  If you are really uncomfortable,
you should remove the old files/directories and re-add them.  To do this
smoothly, you may have to read the manual carefully and have an
understanding how CVS works.  You are your CVS admin.

Best regards,

Wu Yongwei

reply via email to

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