From owner-freebsd-arch@FreeBSD.ORG Thu Jun 12 01:29:57 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A29637B401; Thu, 12 Jun 2003 01:29:57 -0700 (PDT) Received: from mx0.freebsd-services.com (survey.codeburst.net [195.149.39.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DB6C43FCB; Thu, 12 Jun 2003 01:29:56 -0700 (PDT) (envelope-from paul@freebsd-services.com) Received: by mx0.freebsd-services.com (Postfix, from userid 1002) id 4B0341B29D; Thu, 12 Jun 2003 09:29:55 +0100 (BST) Date: Thu, 12 Jun 2003 09:29:55 +0100 From: Paul Richards To: Greg 'groggy' Lehey Message-ID: <20030612082954.GU26927@survey.codeburst.net> References: <20030611.093203.26943899.imp@bsdimp.com> <20030611190615.GA15695@dhcp01.pn.xcllnt.net> <20030610124747.A7560@phantom.cris.net> <20030610024524.D23396@znfgre.qbhto.arg> <20030611075750.GB57496@wantadilla.lemis.com> <20030611.093203.26943899.imp@bsdimp.com> <20030612034640.GM57496@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030612034640.GM57496@wantadilla.lemis.com> User-Agent: Mutt/1.5.4i cc: arch@freebsd.org cc: Doug Barton cc: ache@nagual.pp.ru cc: "M. Warner Losh" cc: Marcel Moolenaar Subject: Re: removing stale files X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 08:29:57 -0000 On Thu, Jun 12, 2003 at 01:16:40PM +0930, Greg 'groggy' Lehey wrote: > The problem with mergemaster in its current form is that it leaves too > much work to the user. I've just installed a 5.0 CD-ROM, upgraded to > latest -CURRENT, and run mergemaster -ia. It left me with 268 files > to merge by hand. > > A big part of the problem is exactly the fact that mergemaster can't > know whether it can change files like /etc/defaults/rc.conf. That's > because we have no official policy about it. Sure, at the top it > says: Brian suggested something to me a while ago about improving mergemaster. Why not use the cvs id to diff the file against that revision. If it's the same then just update it, because it hasn't been changed, otherwise fall back to the usual method. Ok, you need a cvs repo to do this, but it's an extra feature for people who have one, which is probably a large percentage of the users who regularly do updates. It could be done in such a way that a remote repo is used for this. The src tree must have been updated from somewhere in the first place. There are some issues with making this universal, but even if it's initially only available to those with local repos it would still be a big improvement. -- Tis a wise thing to know what is wanted, wiser still to know when it has been achieved and wisest of all to know when it is unachievable for then striving is folly. [Magician]