From owner-freebsd-current Fri Jan 31 20:52:49 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 373BD37B401 for ; Fri, 31 Jan 2003 20:52:48 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-224.client.attbi.com [12.233.57.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D66B43F3F for ; Fri, 31 Jan 2003 20:52:47 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h114pJNt018166; Fri, 31 Jan 2003 20:51:19 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h114pJJL018165; Fri, 31 Jan 2003 20:51:19 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Fri, 31 Jan 2003 20:51:19 -0800 From: David Schultz To: Giorgos Keramidas Cc: Mike Makonnen , sgk@troutmask.apl.washington.edu, current@FreeBSD.ORG Subject: Re: Seat-belt for source upgrades from stable to current Message-ID: <20030201045119.GA18101@HAL9000.homeunix.com> Mail-Followup-To: Giorgos Keramidas , Mike Makonnen , sgk@troutmask.apl.washington.edu, current@FreeBSD.ORG References: <20030129191822.GO78848@starjuice.net> <20030131120311.F16630@aurema.com> <20030131030916.GA11445@HAL9000.homeunix.com> <20030131034043.GA53996@troutmask.apl.washington.edu> <20030131040506.GA11769@HAL9000.homeunix.com> <20030131043320.RQRP10203.pop017.verizon.net@kokeb.ambesa.net> <20030131053832.GA11988@HAL9000.homeunix.com> <20030201041710.GA57006@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030201041710.GA57006@gothmog.gr> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Giorgos Keramidas : > On 2003-01-30 21:38, David Schultz wrote: > > Thus spake Mike Makonnen : > > > Use the r version of the cvs commands (like cvs rlog and rdiff). They operate on > > > the repository remotely, so you don't need to have the files checked out localy. > > > > That's a pretty good solution, and I use those occasionally. It > > would be a perfect solution if there were an 'rupdate', so I don't > > have to (cd /tmp; cvs co src/file/i/want.c) > > && cp /tmp/src/file/i/want.c /where/i/want/it > > && rm -rf /tmp/src > > all the time. > > # cd /tmp > # cvs -d 'repo magic' export -rHEAD src/file/i/want.c > > Does `cvs export' do the trick for you? Actually, 'cvs export' does the opposite of what I want to do. But thank you for mentioning it, because it's a good way to explain what I'm trying to do, so people don't keep assuming that my problem is not knowing how to use CVS. 'cvs checkout': create a copy of the sources AND CVS's administrative directories 'cvs export': just create a copy of the sources What I want to do: just create the administrative directories I'm aware that making CVS magically discover what version I have is a bit much to ask for, so I'm willing to tell it what tag to use. Unfortunately, I don't think the facility I want exists, but I'm going to try to implement a workaround when I have a moment. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message