Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 18:33:55 +0000
From:      Mark Ovens <marko@freebsd.org>
To:        questions@freebsd.org
Subject:   question about cvs(1)
Message-ID:  <20001109183355.B254@parish>

next in thread | raw e-mail | index | archive | help
I have maintained a www/ and doc/ tree using cvsup(1) for along time now
and regularly re-built it using

	# cd /usr/www && make DESTDIR=/usr/local/www install

I recently set up a local repository, updated it using cvsup(1), and
checked out the trees using ``cvs checkout www doc'' but the first time I
tried to rebuild www it failed (unfortunately this coincided with a commit
to the Makefile and I reported it as breaking things).

Further investigation revealed that share/ was missing in /usr/www. I
checked that it was in my repo, then ran:

	cvs update -P www

but it didn't check it out. I then used

	cvs checkout www

and this worked (and updated some other stuff as well). I've read the
cvs(1) manpage (several times) and I am certain that ``checkout'' is used
for creating the tree initially and then ``update'' should maintain the
tree, including checking out new files/dirs, deleting ones that have been
removed from the repo, and updating changed files/dirs.

So why did ``update'' fail to check out www/share? I realize that I may
have done something wrong when I checked out www originally, but what was
it? and why did it, apparently, delete share/ in the first place?

Any ideas?


-- 
		4.4 - The number of the Beastie
________________________________________________________________
51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:marko@freebsd.org                http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001109183355.B254>