From 85933f0aefcef3852e96b15c518f5ad5d46ac2ea Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sat, 29 Dec 2007 05:54:23 +0000 Subject: [PATCH] (vc-hg-dir-state): Deal with the up-to-date state. --- lisp/ChangeLog | 4 ++++ lisp/vc-hg.el | 2 ++ 2 files changed, 6 insertions(+) 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)) -- 2.39.2