From owner-freebsd-current Fri Jan 31 10:12: 8 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 09F6137B401; Fri, 31 Jan 2003 10:12:07 -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 0627643E4A; Fri, 31 Jan 2003 10:12:06 -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 h0VIBvNt015891; Fri, 31 Jan 2003 10:11:58 -0800 (PST) (envelope-from dschultz@uclink.berkeley.edu) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h0VIBvXD015890; Fri, 31 Jan 2003 10:11:57 -0800 (PST) (envelope-from dschultz@uclink.berkeley.edu) Date: Fri, 31 Jan 2003 10:11:57 -0800 From: David Schultz To: Ruslan Ermilov Cc: Christopher Vance , Steve Kargl , current@FreeBSD.ORG Subject: Re: Seat-belt for source upgrades from stable to current Message-ID: <20030131181157.GA15729@HAL9000.homeunix.com> Mail-Followup-To: Ruslan Ermilov , Christopher Vance , Steve Kargl , 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> <20030131050711.GA54395@troutmask.apl.washington.edu> <20030131163422.A26022@aurema.com> <20030131055815.GB11988@HAL9000.homeunix.com> <20030131091321.GE6346@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030131091321.GE6346@sunbay.com> 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 Ruslan Ermilov : > On Thu, Jan 30, 2003 at 09:58:15PM -0800, David Schultz wrote: > > I don't know about Steve, but cvsup is the wrong answer for me > > because it's a mirroring tool and not a version control tool. > > Among the things I would like to do are: > > > > - Update to a specific version of a specific file from the > > repository. > > > > - Generate a diff between two revisions in the repository, > > or between a version in the repository and some local > > patches of my own. > > > > - View logs for particular files. > > > > I asked the question in hopes that there would be some neat > > feature of cvsup that mocked up some CVS metadata for me, but > > since nobody has mentioned any such thing, I guess I'm out of > > luck. Mirroring the entire repository is not an option on > > machines with less than 6 GB of spare disk.[1] Transferring the > > entire source tree over the network via anoncvs is suboptimal when > > all I really want is a few kilobytes of 'CVS' subdirectories. > > But I guess it will have to do for now. > > > > > > [1] When the system is an aging dual PPro or 200MHz Alpha using > > SCSI, buying new drives is not practical. > > > Well then learn how to use anoncvs? I use anoncvs. My question was, given a source or ports tree without any CVS metadata, is there a way to obtain the tiny corresponding CVS/Entries and CVS/Repository files without checking out an entirely new copy of the tree via a busy, often overloaded, anoncvs server. Keep in mind that I'm not asking a ``can it be done?'' question. I've been doing it for years. Rather, I'm asking, ``can it be done more efficiently?'' So far, the best answer I've received is ``mirror the repository locally'' (thank you, David), which I already do on one machine to maintain a local branch and will consider doing on others. I have also considered writing a script to parse embedded $FreeBSD$ tags out of source files and mock up a CVS/Entries and CVS/Repository based on that information. Perhaps I will try that and see if it works passably well. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message