From owner-freebsd-hackers Tue Dec 10 1:31:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CF4037B401 for ; Tue, 10 Dec 2002 01:31:38 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 249AD43EB2 for ; Tue, 10 Dec 2002 01:31:37 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id gBA9VXTJ014532; Tue, 10 Dec 2002 12:31:34 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Tue, 10 Dec 2002 12:31:33 +0300 (MSK) From: Dmitry Morozovsky To: Lamont Granquist Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CVS_LOCAL_BRANCH_NUM? In-Reply-To: <20021209213901.D18479-100000@coredump.scriptkiddie.org> Message-ID: <20021210122917.F14187-100000@woozle.rinet.ru> References: <20021209213901.D18479-100000@coredump.scriptkiddie.org> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 9 Dec 2002, Lamont Granquist wrote: LG> I finally figured this out. To use CVS_LOCAL_BRANCH_NUM with a cvs LG> pserver you need to have the environment variable set server-side. That LG> means something like invoking a wrapper from inetd which sets the LG> environment variable and the calls cvs. LG> LG> Completely undocumented behavior and not terribly transparent. LG> LG> I'm working on some instructions at: LG> LG> http://www.scriptkiddie.org/freebsd/setting_up_local_repo.html A little comment: - 8< - wrapper #!/bin/sh export CVS_LOCAL_BRANCH_NUM=1000 /usr/bin/cvs $* - 8< - Don't you think the last parameter should be "$@" ? Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message