From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: vc-short-log & vc-hg-incoming Date: Tue, 22 Sep 2009 14:49:11 -0400 Message-ID: <4AB91C27.709@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253645407 9360 80.91.229.12 (22 Sep 2009 18:50:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Sep 2009 18:50:07 +0000 (UTC) Cc: dann@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 22 20:50:00 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 1MqAR3-0002vO-Um for ged-emacs-devel@m.gmane.org; Tue, 22 Sep 2009 20:49:58 +0200 Original-Received: from localhost ([127.0.0.1]:45330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqAR3-0006SE-E8 for ged-emacs-devel@m.gmane.org; Tue, 22 Sep 2009 14:49:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqAQy-0006S9-3t for emacs-devel@gnu.org; Tue, 22 Sep 2009 14:49:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqAQs-0006Rg-Kb for emacs-devel@gnu.org; Tue, 22 Sep 2009 14:49:50 -0400 Original-Received: from [199.232.76.173] (port=48306 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqAQs-0006Rd-EX for emacs-devel@gnu.org; Tue, 22 Sep 2009 14:49:46 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:38184) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqAQr-0003QJ-T8 for emacs-devel@gnu.org; Tue, 22 Sep 2009 14:49:46 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MqAQo-0002oT-Mi for emacs-devel@gnu.org; Tue, 22 Sep 2009 20:49:42 +0200 Original-Received: from 38.105.200.250 ([38.105.200.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Sep 2009 20:49:42 +0200 Original-Received: from sds by 38.105.200.250 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Sep 2009 20:49:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.105.200.250 User-Agent: Thunderbird 2.0.0.22 (X11/20090625) X-Enigmail-Version: 0.95.6 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:115533 Archived-At: Hi, Since revision 1.98 date: 2009-09-14 04:38:55 +0000; author: dann; state: Exp; lines: +16 -5; commitid: zTuGmR2R6fnBqB3u; * vc.el (top): print-log method now takes an optional SHORTLOG argument. Add a new method: root. vc-hg-incoming no longer works because it calls vc-hg-incoming-mode which is vc-hg-log-view-mode which needs vc-short-log which is only bound in vc-print-log-internal. this: --- vc-hg.el.~1.100.~ 2009-09-22 14:41:16.000000000 -0400 +++ vc-hg.el 2009-09-22 14:44:30.000777000 -0400 @@ -569,14 +569,14 @@ REV is the revision to check out into WO (defun vc-hg-outgoing () (interactive) - (let ((bname "*Hg outgoing*")) + (let ((bname "*Hg outgoing*") (vc-short-log nil)) (ignore-errors (vc-hg-command bname 0 nil "outgoing" "-n")) (pop-to-buffer bname) (vc-hg-outgoing-mode))) (defun vc-hg-incoming () (interactive) - (let ((bname "*Hg incoming*")) + (let ((bname "*Hg incoming*") (vc-short-log nil)) (ignore-errors (vc-hg-command bname 0 nil "incoming" "-n")) (pop-to-buffer bname) (vc-hg-incoming-mode))) works as a temp fix, but I am sure a better and more general solution is needed. Sam.