changeset 96518:4b43e6ed5850

(vc-hg-registered): Do not set vc-state.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 05 Jul 2008 18:03:56 +0000
parents b250e775669b
children 0197baf37347
files lisp/ChangeLog lisp/vc-hg.el
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jul 05 18:03:02 2008 +0000
+++ b/lisp/ChangeLog	Sat Jul 05 18:03:56 2008 +0000
@@ -1,5 +1,7 @@
 2008-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* vc-hg.el (vc-hg-registered): Do not set vc-state.
+
 	* vc-annotate.el (vc-annotate-mode-menu): Add separator.
 
 2008-07-05  Nick Roberts  <nickrob@snap.net.nz>
--- a/lisp/vc-hg.el	Sat Jul 05 18:03:02 2008 +0000
+++ b/lisp/vc-hg.el	Sat Jul 05 18:03:56 2008 +0000
@@ -143,7 +143,6 @@
   "Return non-nil if FILE is registered with hg."
   (when (vc-hg-root file)           ; short cut
     (let ((state (vc-hg-state file)))  ; expensive
-      (vc-file-setprop file 'vc-state state)
       (and state (not (memq state '(ignored unregistered)))))))
 
 (defun vc-hg-state (file)