From: "Tim 'Zastai' Van Holder" Newsgroups: comp.os.msdos.djgpp References: <3A49B5A6 DOT E6B3DDA8 AT netcologne DOT de> Subject: Re: CVS Lines: 76 X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <8IZ26.16988$CK.596381@afrodite.telenet-ops.be> Date: Fri, 29 Dec 2000 10:29:24 GMT NNTP-Posting-Host: 213.224.95.204 X-Complaints-To: abuse AT pandora DOT be X-Trace: afrodite.telenet-ops.be 978085764 213.224.95.204 (Fri, 29 Dec 2000 11:29:24 MET) NNTP-Posting-Date: Fri, 29 Dec 2000 11:29:24 MET Organization: Pandora - Met vlotte tred op Internet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > i'm starting a new Projekt and want to use the CVS-System... > > At the the beginning i have a small dir and file-tree > > p:\biblio\include\header.c > \header2.c > \source\source.cpp > \source2.cpp I'm assuming you mean header.h and header2.h > The repository is on Z:\cvsroot\ You mean CVSROOT=Z:\ or CVSROOT=Z:\cvsroot\ ? > > With CVS init all initialisations was done ( i think ) > > The cvs import command has reported no errors.. > > But when i want to checkout for working in my Workspace the module > "biblio" will not be found. > > Is there somebody who can send me the right commandos for start the > projekt > > init > import > checkout Basic steps: export CVSROOT=Z:/cvsroot (or set CVSROOT=Z:/cvsroot for command.com) cvs init p: cd \biblio cvs import biblio foo bar -> here 'foo' and 'bar' are two tags you can choose. Usually, you'd -> use 'Initial' and 'FooSoft', where FooSoft is the name of your -> company. -> As log message, you'd probably use 'Initial checkin.' cd .. ren biblio biblio.precvs cvs checkout biblio -> At this point you should have a functioning sandbox. To avoid the tagging that comes with importing, you could also do this: export CVSROOT=Z:/cvsroot (or set CVSROOT=Z:/cvsroot for command.com) cvs init p: md empty cd empty cvs import biblio foo bar -> here you can just use foo & bar, as there are no files to tag here cd .. rd empty cvs checkout biblio cd biblio cvs add source include cd include cvs add header.h header2.h cd ..\source cvs add source.cpp source2.cpp cd .. cvs commit -> Use 'Initial checkin.' as log message The latter method is slightly more manual work, but it causes your files to start at revision 1.1 instead of 1.1.1.1 (which looks better) and they won't have the unnecessary import tags. If cvs itself reports any errors, let me know directly by email (I don't read the NG that often. Make sure to include the version of CVS you're using.