Jesse Sheidlower wrote:

The basic problem is that I had taken a specific program, and directory, called Book.pm and Book/ and then generalized it and
renamed them to MyDatabase.pm 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 "SearchView.pm 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





_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to