From owner-freebsd-questions@FreeBSD.ORG Sun Aug 3 07:19:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EB971065670 for ; Sun, 3 Aug 2008 07:19:36 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 280D68FC14 for ; Sun, 3 Aug 2008 07:19:35 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2132378fgb.35 for ; Sun, 03 Aug 2008 00:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=XC16Vdq5kexOM5nwhTA9oewaADpVjlnKkAXPnVhqhYM=; b=MvwkCMPHpxRbuXj6RVueixb3QkfKdV3IKWwRufWNLKFsYY/g/K8X9nk7fMKNN76k43 lPzioZ3WV1hjhrTE4on13DrffDnQHrGl70obPDsNBtDfIKjPauYZhS89kggu8O4nFKSD 3ugSsTRt+ETQYAqczpH5e//fZMd13EZ91XmLs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=KS61U4NNiovtLr4HekPIxKZ11f2xkNew1l71XNXLe8UrccLCV7kvkBhkF7FJWXGoqQ VmOyGL9aJrST0zWffbMHcNzyfQBJ7FoVR9r7FXx9O1+WX4Q/iBVAwwCwpew2wjFB2nYX VvBf5XXvj4QLs7kcoaSde5WOdNjIqulTQN7KY= Received: by 10.86.83.2 with SMTP id g2mr9174091fgb.54.1217747974609; Sun, 03 Aug 2008 00:19:34 -0700 (PDT) Received: from atlantis.dyndns.org ( [79.131.193.37]) by mx.google.com with ESMTPS id l19sm1964622fgb.7.2008.08.03.00.19.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Aug 2008 00:19:33 -0700 (PDT) Message-ID: <48955C03.7050101@gmail.com> Date: Sun, 03 Aug 2008 10:19:31 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.14 (X11/20080703) MIME-Version: 1.0 To: kalin@el.net References: <4894B222.1040602@el.net> In-Reply-To: <4894B222.1040602@el.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Client only supports checkout mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2008 07:19:36 -0000 kalin m wrote: > hi all... > > why would i get : "Client only supports checkout mode" when i do; > csup /cvsup_file > > on a new freebsd 7 install > > what does it mean?! > > > thanks... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > It means you are trying to use a supfile that works in cvs mode. In cvs mode, the client does not simply checkout the latest version of the files from the repository, instead it retrieves the ",v" files that make up the whole repository. Effectively this means you are creating a local copy of the repository, while in checkout mode you just get the latest revision of every file. CVS mode is mostly necessary if you wish to have quick access to all versions of a file (and the revision history) and mostly useful for developers. In other cases (for example, to update your ports tree) checkout mode is sufficient. And now, here is the catch: Many people need to use checkout mode often, so csup was created and added to the base system. Csup is a rewrite (in C) of the well know cvsup utility (that exists in ports). But csup *does not* support cvs mode. So if you are trying to use a supfile that operates in cvs mode, you will get the "Client only supports checkout mode" If you really need to use a cvs mode supfile, you will need to pkg_add -r cvsup-without-gui (or build it from ports) and then use the cvsup command instead of csup. A cvs mode supfile contains the line: default release = cvs while in a simple checkout supfile, this line also contains a tag, e.g. (my ports supfile): default release = cvs tag=. The tag simply requests a particular revision of the files (a checkout), and in the case of "." it simply means the latest revision (head) You can get a nice description of all options in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html