From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Please don't use revision numbers on commit messages (and elsewhere). Date: Sat, 02 Apr 2011 00:00:23 +0900 Message-ID: <87pqp6m2yg.fsf@uwakimon.sk.tsukuba.ac.jp> References: <877hbfvwyo.fsf@wanadoo.es> <87tyeivni1.fsf@wanadoo.es> <87ei5mvij7.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301669735 26256 80.91.229.12 (1 Apr 2011 14:55:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 14:55:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Uday S Reddy Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 01 16:55:30 2011 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 1Q5fl0-0008Pg-Lp for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2011 16:55:26 +0200 Original-Received: from localhost ([127.0.0.1]:60035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5fl0-0004zT-6s for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2011 10:55:26 -0400 Original-Received: from [140.186.70.92] (port=36080 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5fko-0004yE-Vj for emacs-devel@gnu.org; Fri, 01 Apr 2011 10:55:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5fkn-0003rT-V6 for emacs-devel@gnu.org; Fri, 01 Apr 2011 10:55:14 -0400 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:38614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5fkn-0003qu-M8 for emacs-devel@gnu.org; Fri, 01 Apr 2011 10:55:13 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 51B7E9701C3; Fri, 1 Apr 2011 23:55:11 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id CA1881A3A82; Sat, 2 Apr 2011 00:00:23 +0900 (JST) In-Reply-To: X-Mailer: VM 8.1.93a under 21.5 (beta29) "garbanzo" eac2e6bd5b2c+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.224 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:137998 Archived-At: Uday S Reddy writes: > I am still trying to understand how bad this problem is. It's this bad: Right now, you and I simultaneously clone the mainline at r42. You commit, creating r43, because as far as bzr knows, you're on the mainline. Oops, you missed something, and you commit your r44, with the message "Fix bug introduced in r43." While you're fixing the bug, I commit and push, and my commit becomes mainline r43. Now when you pull and merge, your commits that used to be on the (local) mainline with revnos r43 and r44 are now off the mainline and have revnos r42.1.1 and r42.1.2, and the commit message is now a dastardly attack on my reputation. ;-) Yes, if something is already in the master repo, you can refer to it by revno, as long as you never intend to push it anywhere else, or allow others to pull from your branch (you can't be sure that they have the same history you do). But you can't refer to your own commits by revno until they've been pushed to the master.