From owner-freebsd-hackers Fri Jan 31 03:08:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA17394 for hackers-outgoing; Fri, 31 Jan 1997 03:08:02 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA17373 for ; Fri, 31 Jan 1997 03:07:59 -0800 (PST) Received: from paris.CS.Berkeley.EDU (paris.CS.Berkeley.EDU [128.32.34.47]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id DAA05809 for ; Fri, 31 Jan 1997 03:07:58 -0800 (PST) Received: from paris.CS.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by paris.CS.Berkeley.EDU (8.8.3/8.8.2) with ESMTP id DAA01324; Fri, 31 Jan 1997 03:04:56 -0800 (PST) From: Josh MacDonald Message-Id: <199701311104.DAA01324@paris.CS.Berkeley.EDU> To: Terry Lambert cc: brian@awfulhak.demon.co.uk, hackers@freebsd.org Subject: Re: Source code commits In-reply-to: Your message of "Wed, 29 Jan 1997 19:16:01 MST." <199701300216.TAA20836@phaeton.artisoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1317.854708675.1@paris.CS.Berkeley.EDU> Date: Fri, 31 Jan 1997 03:04:37 -0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Not only does CVS need a rewrite from scratch, it needs a (re?)design from scratch. For those of you aspiring to do so, please note that I've got a pretty big head start and you can all wait for me to finish PRCS 2.0, I'm working on it as I write this. I would like to address Terry's problem here, and have had private discussion's with John Polstra about doing so. Anyone's welcome to make suggestions. -josh > > > Is it possible to commit source code locally, and get cvsup to send the > > > udpates back to freefall ? If not, would there be a lot of work involved > ? > > > > This isn't cvsup's domain, actually, but it is something CVS can > > handle itself. You simply set CVS_RSH to ``ssh' and CVSROOT to > > ``freefall.freebsd.org:/home/ncvs'', then you do your CVS operations > > as normal. > > > > I have some shell functions which I use so that I can keep things > > checked out relative to my local CVS repository (and obviously many > > times faster than using freefall's) up until the point where I want to > > commit the changes, then it fools CVS into thinking that the sources > > were originally checked out from freefall too: > > [ ... ] > > Not too useful to those of us who checkin to our local repository > because we can't checkin to Freefall... > > It would be nice if I could: > > cvsup <-- tree without my tag > cvs co src > [ set local tag ] > [ edit file locally ] > [ check in under tag ] > cvsup <-- tree without my tag > [ edit file more locally ] cvsup <-- tree without my tag > [ check in again under tag ] > cvsup <-- tree without my tag > [ create diff locally ] > [ send diff to Julian (or whever has commit privs ] > [ set new local tag ] > cvsup <-- tree without my tag > cvsup <-- tree without my tag > [ edit file more locally ] > cvsup <-- tree without my tag > [ check in again under tag ] > cvsup <-- tree without my tag > [ Julian commits changes ] > cvsup <-- tree without my tag, but with commits from "local tag" to > to "new local tag" ] > *** Here's the bugger: *** > [ I merge local tag, so deltas after "new local tag" are applied > relative to post-merge code ] > cvsup <-- tree without my tag > [ I repeat "send diff..." ] > ... > > Right now, I have to wait for the checkin, and can do no new work until > it has occurred (making it against my best interests to check in). Plus, > I can't "rebranch" my local tag, or run several concurrent derivative > branches (also making it a bad idea to send diffs). > > Plus you guys lose my edit history, which is what cuts the code up > into small enough change domains for you guys to digest (ie: tag1, code, > tag2, code, tag3, code, tag4, submit 1-2, submit 2-3, submit 3-4). > > > Regards, > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. >