From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: `about-emacs' - what about the revno? Date: Tue, 31 Aug 2010 10:22:32 +0200 Message-ID: References: <83occmlogo.fsf@gnu.org> <87tymcq9so.fsf@telefonica.net> <87d3szra8f.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283249854 20839 80.91.229.12 (31 Aug 2010 10:17:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 10:17:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 31 12:17:26 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqNu4-0004QH-8h for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 12:17:20 +0200 Original-Received: from localhost ([127.0.0.1]:38020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqNsC-0001Fg-Hx for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 06:15:24 -0400 Original-Received: from [140.186.70.92] (port=54744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqNqp-0000UD-QY for emacs-devel@gnu.org; Tue, 31 Aug 2010 06:14:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqNqo-0002pn-D3 for emacs-devel@gnu.org; Tue, 31 Aug 2010 06:13:59 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:58589) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqNqo-0002pU-AT for emacs-devel@gnu.org; Tue, 31 Aug 2010 06:13:58 -0400 Original-Received: from ceviche.home (vpn-132-204-232-70.acd.umontreal.ca [132.204.232.70]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o7VADs1G028168; Tue, 31 Aug 2010 06:13:55 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id E98BC6616B; Tue, 31 Aug 2010 12:13:53 +0200 (CEST) In-Reply-To: <87d3szra8f.fsf@telefonica.net> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Tue, 31 Aug 2010 00:45:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3611=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129488 Archived-At: > So for what we use the revision information? How it helps to know which > was the last commit from trunk included on a build? It relates his code to the one in our repository, i.e. to something about which we know something. > What's the use case? When he reports a bug that's supposedly been fixed recently, we can know whether his report is because he uses an old version that doesn't yet have the patch applied. This has already happened a few times over the last few months. That's the only use-case I know for a "revision information". > Having the revision-id you can test if the sources comes straight from > Savannah. If it doesn't, the bug is his business, as we have no way of > figuring out what changes his build contains. Yes, that's also a valid approach. > A revision-id uniquely identifies the state of a branch, the revision > number does not. For what we need a number that may or may not > correspond to some commit on `trunk'? I never suggested to use just "bzr revno", instead I suggest to use "the revno on the trunk of the common ancestor". It also uniquely identifies a particular revision, and moreover it's a revision which we know. And being a revno makes it slightly more convenient since you can more easily (i.e. in your own head) compare two revnos to know whether it contains a particular patch. Stefan