From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#262: marked as done (23.0.60; vc-hg-annotate-command version number bug + patch) Date: Thu, 29 May 2008 15:40:07 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1212100807-4173-0" X-Trace: ger.gmane.org 1212101534 32654 80.91.229.12 (29 May 2008 22:52:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2008 22:52:14 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 30 00:52:54 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K1qzM-0000rv-3q for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 May 2008 00:52:52 +0200 Original-Received: from localhost ([127.0.0.1]:35404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1qya-0000cJ-8W for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 May 2008 18:52:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1qyN-0000Xr-H2 for bug-gnu-emacs@gnu.org; Thu, 29 May 2008 18:51:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1qyN-0000XW-5G for bug-gnu-emacs@gnu.org; Thu, 29 May 2008 18:51:51 -0400 Original-Received: from [199.232.76.173] (port=55115 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1qyM-0000XF-Ky for bug-gnu-emacs@gnu.org; Thu, 29 May 2008 18:51:50 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33543) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1qyI-0003l8-TX; Thu, 29 May 2008 18:51:47 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4TMpi0l007493; Thu, 29 May 2008 15:51:45 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4TMe7xM004221; Thu, 29 May 2008 15:40:07 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 262 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18173 Archived-At: This is a multi-part message in MIME format... ------------=_1212100807-4173-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 29 May 2008 18:30:58 -0400 with message-id and subject line Re: bug#262: 23.0.60; vc-hg-annotate-command version numbe= r bug + patch has caused the Emacs bug report #262, regarding 23.0.60; vc-hg-annotate-command version number bug + patch to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 262: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D262 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1212100807-4173-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 16 May 2008 22:05:10 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4GM55d1012184 for ; Fri, 16 May 2008 15:05:07 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 17E2C2CFC31; Fri, 16 May 2008 18:05:05 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E20CA2CF9A7 for ; Fri, 16 May 2008 18:05:04 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 7841F3B8B5B for ; Fri, 16 May 2008 18:05:00 -0400 (EDT) Received: from localhost ([127.0.0.1]:53290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jx82u-0003rv-5Q for monnier@iro.umontreal.ca; Fri, 16 May 2008 18:05:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jx6S9-00007E-43 for emacs-devel@gnu.org; Fri, 16 May 2008 16:22:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jx6S8-00006k-Le for emacs-devel@gnu.org; Fri, 16 May 2008 16:22:56 -0400 Received: from [199.232.76.173] (port=50666 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jx6S8-00006Z-8s for emacs-devel@gnu.org; Fri, 16 May 2008 16:22:56 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:38755) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jx6S8-0005nZ-1T for emacs-devel@gnu.org; Fri, 16 May 2008 16:22:56 -0400 Received: from mail.gnu.org ([199.232.76.166]:36823 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jx6R3-0002uG-7z for emacs-pretest-bug@gnu.org; Fri, 16 May 2008 16:21:49 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jx6S4-0005ml-Mo for emacs-pretest-bug@gnu.org; Fri, 16 May 2008 16:22:54 -0400 Received: from mail.idealab.com ([208.76.2.4]:57199 helo=rain.mail.idealab.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jx6S4-0005lw-4v for emacs-pretest-bug@gnu.org; Fri, 16 May 2008 16:22:52 -0400 Received: from rain.mail.idealab.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 3956D6983C8; Fri, 16 May 2008 13:22:49 -0700 (PDT) Received: from 10-1-2-210.dhcp.pas.lab (10-1-2-210.dhcp.pas.lab [10.1.2.210]) by rain.mail.idealab.com (Postfix) with ESMTP id 0DCAC698269; Fri, 16 May 2008 13:22:49 -0700 (PDT) Date: Fri, 16 May 2008 13:22:48 -0700 Message-Id: From: David Hull To: emacs-pretest-bug@gnu.org From: David Hull X-Antivirus: Scanned by F-Prot Antivirus (http://www.f-prot.com) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 16 May 2008 18:04:40 -0400 Cc: Subject: 23.0.60; vc-hg-annotate-command version number bug + patch 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: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.6, requis 5, autolearn=not spam, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org There is a small problem in the function vc-hg-annotate-command that causes the code that deletes up to the first line of the sources to delete too far if the first line of sources starts with a space, such as the following: 0 Fri Apr 25 18:04:19 2008 -0700: #! /usr/bin/perl 0 Fri Apr 25 18:04:19 2008 -0700: 36 Tue May 13 17:55:19 2008 -0700: my @fields = @{$e->{field}}; This patch fixes the problem: Index: vc-hg.el =================================================================== RCS file: /sources/emacs/emacs/lisp/vc-hg.el,v retrieving revision 1.77 diff -u -r1.77 vc-hg.el --- vc-hg.el 15 May 2008 17:38:47 -0000 1.77 +++ vc-hg.el 16 May 2008 19:49:59 -0000 @@ -288,8 +288,8 @@ (when revision (concat "-r" revision))) (with-current-buffer buffer (goto-char (point-min)) - (re-search-forward "^[0-9]") - (delete-region (point-min) (1- (point))))) + (re-search-forward "^[ \t]*[0-9]") + (delete-region (point-min) (match-beginning 0)))) ;; The format for one line output by "hg annotate -d -n" looks like this: -- David Hull ------------=_1212100807-4173-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 262-done) by emacsbugs.donarmstrong.com; 29 May 2008 22:32:48 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4TMWjGC002727 for <262-done@emacsbugs.donarmstrong.com>; Thu, 29 May 2008 15:32:46 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1K1qeA-0008GY-KM; Thu, 29 May 2008 18:30:58 -0400 From: Glenn Morris To: 262-done@emacsbugs.donarmstrong.com Subject: Re: bug#262: 23.0.60; vc-hg-annotate-command version number bug + patch References: X-Spook: strategic TELINT Rand Corporation AUTODIN Commecen X-Ran: v-@er4(*fJq@Z=5{_g*F=+L(60|Et&"7+_L1`/N@gk~=r~DU4c (David Hull's message of "Fri, 16 May 2008 13:22:48 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-CrossAssassin-Score: 14 ------------=_1212100807-4173-0--