From owner-freebsd-current Fri Jan 31 21:26:17 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 6CD0937B401; Fri, 31 Jan 2003 21:26:15 -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 5B37143FAF; Fri, 31 Jan 2003 21:26:14 -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 h115OsNt018308; Fri, 31 Jan 2003 21:24:54 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h115Or0B018307; Fri, 31 Jan 2003 21:24:53 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Fri, 31 Jan 2003 21:24:53 -0800 From: David Schultz To: Juli Mallett Cc: Giorgos Keramidas , Mike Makonnen , sgk@troutmask.apl.washington.edu, current@FreeBSD.ORG Subject: Re: Seat-belt for source upgrades from stable to current Message-ID: <20030201052453.GC18101@HAL9000.homeunix.com> Mail-Followup-To: Juli Mallett , 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> <20030131210320.A2834@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030131210320.A2834@FreeBSD.org> 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 Juli Mallett : > * De: Giorgos Keramidas [ Data: 2003-01-31 ] > [ Subjecte: Re: Seat-belt for source upgrades from stable to current ] > > 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? > > Further, export -d somedir might be useful in this situation to get the > files where you want them, though sometimes -d does not DWIM, so I'm > not sure :) That works when the revision has a symbolic tag associated with it, but export seems to be picky and won't do numeric revision numbers of particular files. I guess I could always go by date. And yes, -d is picky, too; you can't export into your working directory. Still, not bad... It doesn't address the entire problem I mentioned before, because I still want to do diffs between local revisions and the repository. This thread is just a subthread of the original thread in which I guess we're talking about how to do a 'cvs update' without a copy of the repository. (Sorry Giorgos, your idea actually works for updates, just not for the original question I was asking. I was confused. ENOSLEEP.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message