Commit f4be80b7 authored by Santiago Payà i Miralta's avatar Santiago Payà i Miralta Committed by Stefan Monnier
Browse files

* lisp/vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and


Fixes: debbugs:17570
parent 28b83297
2014-06-06 Santiago Payà i Miralta <>
* vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
vc-hg-command (bug#17570).
2014-06-06 Stefan Monnier <>
* international/mule-cmds.el (ucs-names): Add special entry for BEL
......@@ -227,14 +227,11 @@ highlighting the Log View buffer."
(defun vc-hg-working-revision (file)
"Hg-specific version of `vc-working-revision'."
(let ((default-directory (if (file-directory-p file)
(file-name-as-directory file)
(file-name-directory file))))
(process-file vc-hg-program nil standard-output nil
"log" "-l" "1" "--template" "{rev}"
(file-relative-name file))))))
(or (ignore-errors
(vc-hg-command standard-output 0 file
"parent" "--template" "{rev}")))
;;; History functions
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment