changeset 93957:139a888c8649

(vc-hg-dir-status): Remove unneeded call.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 10 Apr 2008 07:34:40 +0000
parents bfc762f0b49c
children 22a31e3179e0
files lisp/ChangeLog lisp/vc-hg.el
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Apr 10 07:32:25 2008 +0000
+++ b/lisp/ChangeLog	Thu Apr 10 07:34:40 2008 +0000
@@ -20,6 +20,8 @@
 	* vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
 	Detect the conflict state.
 
+	* vc-hg.el (vc-hg-dir-status): Remove unneeded call.
+
 2008-04-10  Glenn Morris  <rgm@gnu.org>
 
 	* Makefile.in (MH_E_DIR): New variable.
--- a/lisp/vc-hg.el	Thu Apr 10 07:32:25 2008 +0000
+++ b/lisp/vc-hg.el	Thu Apr 10 07:34:40 2008 +0000
@@ -487,7 +487,7 @@
 		       (?! . missing)
 		       (?? . unregistered)))
 	(translated nil)
-	  (result nil))
+	(result nil))
       (goto-char (point-min))
       (while (not (eobp))
 	(setq status-char (char-after))
@@ -502,8 +502,6 @@
 
 ;; XXX Experimental function for the vc-dired replacement.
 (defun vc-hg-dir-status (dir update-function status-buffer)
-  "Return a list of conses (file . state) for DIR."
-  (erase-buffer)
   (vc-hg-command (current-buffer) 'async dir "status")
   (vc-exec-after
    `(vc-hg-after-dir-status (quote ,update-function) ,status-buffer)))