summaryrefslogtreecommitdiff
path: root/lisp/vc-hg.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc-hg.el')
-rw-r--r--lisp/vc-hg.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el
index 872be45a2c1..af2b4f133d2 100644
--- a/lisp/vc-hg.el
+++ b/lisp/vc-hg.el
@@ -296,7 +296,7 @@
(defun vc-hg-revision-table (files)
(let ((default-directory (file-name-directory (car files))))
(with-temp-buffer
- (vc-hg-command t nil file "log" "--template" "{rev} ")
+ (vc-hg-command t nil files "log" "--template" "{rev} ")
(split-string
(buffer-substring-no-properties (point-min) (point-max))))))
@@ -480,6 +480,8 @@ REV is the revision to check out into WORKFILE."
(pop-to-buffer bname)
(vc-hg-incoming-mode)))
+(declare-function log-view-get-marked "log-view" ())
+
;; XXX maybe also add key bindings for these functions.
(defun vc-hg-push ()
(interactive)