From: "Jim.Hyslop" <[EMAIL PROTECTED]> Date: Thu, 3 Jun 2004 12:28:27 -0400
[EMAIL PROTECTED] wrote: > The interaction below illustrates the sources of my confusion. > Basically, I start a project Foo which initially consists of a single > file foo. Afterwards, I add and commit a new file bar. Finally, I > issue a "cvs status -v" command. (I've numbered the lines and > inserted a few comments, preceded by ###). [...] > 7 ### import and check out > 8 % cvs -d $CVSROOT im -m '' Foo trunk start There's the root of your confusion. The "import" command is intended to import third-party software into your repository, not to create your own project. OK, but how does one get a project started without using import? The Cederqvist manual gives no other way to start a project besides using import (ch. 3). And going over all the commands listed with cvs --help-commands, I don't see any other command to start a project with. Many thanks for the other clarifications. It all makes a *lot* more sense now. BTW, what got me started looking into all this was trying to find some algorithm for determining the branch (if any) a given checked out revision belongs to, based on the info genertated by "cvs status -v". As best as I can figure, this is the algorithm: remove the last period and everything that follows it from the "Working revision"; call this the "branch revision" if there is a branch tag, among those listed under "Existing Tags" corresponding to the branch revision, then the checked out revision under consideration belongs to it. if not, the checked out revision belongs to no branch (i.e. it belongs to the trunk). (As far as I have seen, these cases correspond to "branch revisions" with no periods in them.) This algorithm is correct for all the cases I've checked, but I can't say whether it is correct in general. Thanks! kj _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
