unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc-short-log & vc-hg-incoming
@ 2009-09-22 18:49 Sam Steingold
  0 siblings, 0 replies; only message in thread
From: Sam Steingold @ 2009-09-22 18:49 UTC (permalink / raw)
  To: emacs-devel; +Cc: dann

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.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-22 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 18:49 vc-short-log & vc-hg-incoming Sam Steingold

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).