cvs-problems

Ulli Blancke ulli at cadlab.de
Tue May 14 22:53:45 AEST 1991



We have problems retrieving modules from cvs. To give you an exact picture
we discribe here what we have done, but most interesting should be the
end ....

Having untarred the files cvs-1.0.tar, (sources mostly from 89/11/19)
rcs-5.5.tar under $HOME/rcs 

changing in $HOME/rcs/cvs/Makefile:
	DESTDIR=        /sun/da/sb/rcs/cvs/bin

changing MANDIR in $HOME/rcs/cvs/man/Makefile:
	MANDIR=         /sun/da/sb/rcs/cvs/man/man${MANSEC}

changing in $HOME/rcs/cvs/src/cvs.h
	#define RCSBIN_DFLT     "/sun/da/sb/rcs/rcs/src" 

starting in $HOME/rcs/cvs
	$ make depend
	$ make
	$ mkdir bin man/manl 	# should this in the Makefile??
	$ make install

creating repository directory
	$ mkdir ~/CVS ~/CVS/CVSROOT.adm
	$ cd ~/CVS/CVSROOT.adm
	$ cp ~/rcs/cvs/examples/* .
edit file modules to contain the line
	ex	ex a b
	$ ci -m'Initial loginfo file' loginfo
	$ ci -m'Initial modules file' module
	$ mkmodules /sun/da/sb/CVS/CVSROOT.adm
	$ setenv CVSROOT /sun/da/sb/CVS
	$ setenv RCSBIN /sun/da/sb/rcs/rcs/src
	$ set path        = ( $path \
			/sun/da/sb/rcs/rcs/src \
			/sun/da/sb/rcs/cvs/bin )
	$ mkdir ~/ex; cd ~/ex		# this is our little example
	$ echo aa > a; echo bb > b
	$ mkdir $CVSROOT/ex

adapting ~/rcs/cvs/bin/checkin to my environment:
	changing lines 41/42 to:
		set cvsbin = /sun/da/sb/rcs/cvs/bin
		set rcsbin = /sun/da/sb/rcs/rcs/src

now our first trial:
	$ checkin -m 'first cvs trying' ex EX EX1
results in:
	WARNING: Creating new file ex/a
	WARNING: Creating new file ex/b

trying to retrieve the information DOES NOT SUCCEED!!!!!!
	$ cd ~/newdir
	$ cvs co ex
	cvs: nothing known about a
	cvs: nothing known about b
	cvs: failed; correct the above errors first

So now, what are we doing wrong? Any help will be appreciated,
					Ulli Blancke
					Siegfried Bublitz

PS: Errors on the manpage for cvs
	page 9, line 6: the files are from $CVSROOT/bin, not $CVSROOT/bin/awk



------------------- >		Cadlab          <-----------------------
Ulrich Blancke			Bahnhofstr. 32
ulli at cadlab.cadlab.de		4790 Paderborn
Phone: +49 (5251)-284113 	( Germany )


--
------------------- >		Cadlab          <-----------------------
Ulrich Blancke			Bahnhofstr. 32
ulli at cadlab.cadlab.de		4790 Paderborn
Phone: +49 (5251)-284113 	( Germany )



More information about the Comp.unix.misc mailing list