From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: vc-log bug? Date: Mon, 14 Dec 2009 08:05:06 -0800 (PST) Message-ID: <200912141605.nBEG56oA026171@godzilla.ics.uci.edu> References: <873a3dmv5q.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260807242 17946 80.91.229.12 (14 Dec 2009 16:14:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2009 16:14:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Giorgos Keramidas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 14 17:13:55 2009 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.50) id 1NKDY5-00062U-GQ for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 17:13:25 +0100 Original-Received: from localhost ([127.0.0.1]:55927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKDY5-0007PK-33 for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 11:13:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKDRm-0005KU-Nu for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:06:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKDRh-0005Ie-HK for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:06:53 -0500 Original-Received: from [199.232.76.173] (port=38128 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKDRg-0005IQ-Sm for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:06:49 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:42624) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NKDRg-0007pM-Bm for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:06:48 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nBEG57B5024859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Dec 2009 08:05:07 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nBEG56oA026171; Mon, 14 Dec 2009 08:05:06 -0800 (PST) In-Reply-To: <873a3dmv5q.fsf@kobe.laptop> (Giorgos Keramidas's message of "Mon, 14 Dec 2009 17:29:05 +0200") Original-Lines: 27 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nBEG57B5024859 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.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:118616 Archived-At: Giorgos Keramidas writes: > Some of the recent VC changes broke vc-log for Mercurial here. My HOME > directory now has less than 2000 changesets: > > changeset: 789:943233c01bf5 > tag: tip > user: Giorgos Keramidas > date: Mon Dec 14 08:49:03 2009 +0200 > summary: agenda: update clock/time table for today's work > > but when I type `C-x v l' the latest VC code tries to see the log of > changes 2000:tip. Thanks. This is a bug in vc-hg.el. Fixed like this: --- vc-hg.el.~1.108.~ 2009-12-07 00:53:20.000000000 -0800 +++ vc-hg.el 2009-12-14 07:56:11.000000000 -0800 @@ -223,7 +223,7 @@ If nil, use the value of `vc-diff-switch (repeat :tag "Argument List" :value ("") string)) :group 'vc-hg) -(defun vc-hg-print-log (files buffer &optional shortlog limit start-revision) +(defun vc-hg-print-log (files buffer &optional shortlog start-revision limit) "Get change log associated with FILES." ;; `vc-do-command' creates the buffer, but we need it before running ;; the command.