From owner-freebsd-hackers Mon Dec 9 21:47:58 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 A0C2937B401 for ; Mon, 9 Dec 2002 21:47:56 -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 5070C43EC2 for ; Mon, 9 Dec 2002 21:47:52 -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 ABD6C62D1A for ; Mon, 9 Dec 2002 21:47:41 -0800 (PST) Date: Mon, 9 Dec 2002 21:47:41 -0800 (PST) From: Lamont Granquist To: freebsd-hackers@freebsd.org Subject: Re: CVS_LOCAL_BRANCH_NUM? In-Reply-To: <20021208112628.H11375-100000@coredump.scriptkiddie.org> Message-ID: <20021209213901.D18479-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 I finally figured this out. To use CVS_LOCAL_BRANCH_NUM with a cvs pserver you need to have the environment variable set server-side. That means something like invoking a wrapper from inetd which sets the environment variable and the calls cvs. Completely undocumented behavior and not terribly transparent. I'm working on some instructions at: http://www.scriptkiddie.org/freebsd/setting_up_local_repo.html On Sun, 8 Dec 2002, Lamont Granquist wrote: > I've been struggling all weekend to setup a local CVS repo mirror, and I > guess I've done that successfully, but I can't figure out what is going on > with CVS_LOCAL_BRANCH_NUM. My understanding is that if I set it to a > large number "63000" that it should tag branches that I make with values > roughly that large. You can see from below that what I'm getting though > is low-numbered branches. I'm confused. This is what I did on both > -current and 4.6-release: > > setenv CVS_LOCAL_BRANCH_NUM 63000 > cvs rtag -b -r RELENG_4_7 RELENG_4_LCG src > > And this is what I get -- shouldn't that be something like 1.229.63000? > > cvs status UPDATING > =================================================================== > File: UPDATING Status: Up-to-date > > Working revision: 1.229 > Repository revision: 1.229 /cvs/src/UPDATING,v > Sticky Tag: RELENG_4_LCG (branch: 1.229.4) > Sticky Date: (none) > Sticky Options: (none) > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message