From owner-freebsd-hackers Tue Dec 10 2:11:56 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 6EFA337B404 for ; Tue, 10 Dec 2002 02:11:54 -0800 (PST) Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EE6343EBE for ; Tue, 10 Dec 2002 02:11:50 -0800 (PST) (envelope-from lamont@scriptkiddie.org) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 038D062D1A; Tue, 10 Dec 2002 01:41:33 -0800 (PST) Date: Tue, 10 Dec 2002 01:41:33 -0800 (PST) From: Lamont Granquist To: Dmitry Morozovsky Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CVS_LOCAL_BRANCH_NUM? In-Reply-To: <20021210122917.F14187-100000@woozle.rinet.ru> Message-ID: <20021210013718.I32160-100000@coredump.scriptkiddie.org> 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 From the man page, I'm not really sure where it makes a difference other than when someone is playing with IFS, but $@ seems to be more of what I intended... And in case anyone is still reading this now, I'd like to throw out the suggestion that CVS_LOCAL_BRANCH_NUM should really be an option to cvs rtag and should thereby be settable in one's .cvsrc file and the option should get transmitted to the cvs pserver, eliminating the kind of asymmetry I just documented. On Tue, 10 Dec 2002, Dmitry Morozovsky wrote: > 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