From: Ian Jackson Subject: Re: API Changelog Date: Tue, 8 Jan 2008 16:46:35 +0000 Message-ID: <18307.43243.956613.832630@mariner.uk.xensource.com> References: <20080107162233.GA19323@totally.trollied.org.uk> <200801080032.17033.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080107162233.GA19323@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon , Keir Fraser , Mark Williamson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org John Levon writes ("[Xen-devel] API Changelog"): > Now I remember why I didn't want a file in the source tree. There's > absolutely no sensible way to have any entries there that give a > meaningful link to the actual details - you can't link to the rev until > it's merged, and you can't commit until the rev is written in it. I think hg ann -cnaud answers that problem quite well, as Keir points out. Mark Williamson writes ("Re: [Xen-devel] API Changelog"): > How about just including the changelog entry as a separate commit? That way > the commit ID of the real change can be recorded accurately. Oh dear, please no. That will involve manual pratting about (which will therefore go wrong) when we have a useable automatic system for this. If we abolutely have to we could use some kind of keyword expansion annotation system but personally I think that's a waste of effort when hg ann is quite adequate. > The developer would generate the patch series using hg export - which they > probably use already. All that's needed at the other end is to apply the > patch using hg import so that the commits keep the proper changeset IDs. > > Another reason hg import is handy is that the developer who sent the patch > won't get a conflict the next time they hg pull mainline. These are orthogonal questions, I think. Ian.