From owner-freebsd-current@FreeBSD.ORG Wed Mar 25 21:11:47 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5318106564A for ; Wed, 25 Mar 2009 21:11:47 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (kientzle.com [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id A21C58FC08 for ; Wed, 25 Mar 2009 21:11:47 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: (from root@localhost) by kientzle.com (8.14.3/8.14.3) id n2PLBVBX024947; Wed, 25 Mar 2009 14:11:31 -0700 (PDT) (envelope-from kientzle@freebsd.org) Received: from dark.x.kientzle.com (fw2.kientzle.com [10.123.1.2]) by kientzle.com with SMTP id sxr455unr96gqfztkucjdz447e; Wed, 25 Mar 2009 14:11:30 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <49CA9E02.5070706@freebsd.org> Date: Wed, 25 Mar 2009 14:11:30 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.19) Gecko/20090226 SeaMonkey/1.1.14 MIME-Version: 1.0 To: Doug Barton References: <49C16ECD.1040901@FreeBSD.org> <49CA90BA.5090004@fgznet.ch> <49CA968A.5070403@FreeBSD.org> <49CA9A21.3090302@fgznet.ch> <49CA9BD0.70205@FreeBSD.org> In-Reply-To: <49CA9BD0.70205@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Andreas Tobler , FreeBSD Current Subject: Re: New mergemaster option to install files that differ only by $FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 21:11:48 -0000 Doug Barton wrote: > Andreas Tobler wrote: >> Hm, then it seems to me that I did something 'wrong' when I co'ed the >> svn repository. I am an anonymous user, aka having no svn account. > > You're not using the devel/subversion-freebsd port. > I'm glad you're happy now, but you won't be when you do your next > mergemaster run. :) > > Mergemaster counts on there being a real version number in the VCS Id > string to compare against and learn about new versions of files. If > the files in your base and the files in the src tree all have > identical strings (i.e., they are all equal to $FreeBSD$) then > mergemaster will never know that there is a new version available. This sounds like a problem. I'm not sure we can safely assume that non-committers will be using devel/subversion-freebsd. I've long wondered if there were some way to generically checksum every one of these files at install time (Maybe adding a final "#md5:XXXXXXXX" line? Does every file in /etc/ support "#" as a comment start?) Then these checksums could be used to definitively determine: * Files that had local edits (checksum mismatch) * Old files that were different from the system being installed all without relying on VCS IDs or other conventions. In particular, it would be really nice to be able to say "just update everything that doesn't have local edits and let me manually review the rest." Tim