From: Dan Nicolaescu Date: Sat, 29 Dec 2007 05:54:23 +0000 (+0000) Subject: (vc-hg-dir-state): Deal with the up-to-date state. X-Git-Tag: emacs-pretest-23.0.90~8775 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=85933f0aefcef3852e96b15c518f5ad5d46ac2ea;p=emacs.git (vc-hg-dir-state): Deal with the up-to-date state. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 20e1d0a224b..a879da74a68 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2007-12-29 Dan Nicolaescu + + * vc-hg.el (vc-hg-dir-state): Deal with the up-to-date state. + 2007-12-29 Jay Belanger * calc/calc-aent.el (math-read-token): Fix misplaced diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index 41cc883c0a4..b3482ddffae 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el @@ -199,6 +199,8 @@ ;; ! = deleted, but still tracked ;; should not show up in vc-dired, so don't deal with them ;; here. + ((eq status-char ?C) + (vc-file-setprop file 'vc-state 'up-to-date)) ((eq status-char ?A) (vc-file-setprop file 'vc-working-revision "0") (vc-file-setprop file 'vc-state 'edited))