diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index 2d633e07c1d..5c9df6bf287 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el @@ -556,7 +556,7 @@ This requires hg 4.4 or later, for the \"-L\" option of \"hg log\"." (defun vc-hg-diff (files &optional oldvers newvers buffer async) "Get a difference report using hg between two revisions of FILES." (let* ((firstfile (car files)) - (working (and firstfile (vc-working-revision firstfile)))) + (working (and firstfile (vc-working-revision firstfile 'Hg)))) (when (and (not newvers) (equal oldvers working)) (setq oldvers nil)) (when (and newvers (not oldvers))