changeset 106684:232c05e79d96

(vc-hg-working-revision): Tweak previous change.
author Nick Roberts <nickrob@snap.net.nz>
date Wed, 30 Dec 2009 19:53:47 +1300
parents 17778dd7f114
children 7bbfbaf5bbf0
files lisp/vc-hg.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-hg.el	Wed Dec 30 15:22:45 2009 +1300
+++ b/lisp/vc-hg.el	Wed Dec 30 19:53:47 2009 +1300
@@ -209,11 +209,11 @@
 			;; Ignore all errors.
 			(process-file
 			 "hg" nil t nil
-			 "parent" "--template" "\"{rev}\"" (file-relative-name file)))
+			 "parent" "--template" "{rev}" (file-relative-name file)))
                     ;; Some problem happened.  E.g. We can't find an `hg'
                     ;; executable.
                     (error nil)))))))
-    (when (eq 0 status) (read out))))
+    (when (eq 0 status) out)))
 
 ;;; History functions