changeset 87474:dc4354c7a6c7

(vc-hg-dir-state): Deal with the up-to-date state.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 29 Dec 2007 05:54:23 +0000
parents 2c5b54539df2
children d5c5e7e3d557
files lisp/ChangeLog lisp/vc-hg.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Dec 29 05:33:52 2007 +0000
+++ b/lisp/ChangeLog	Sat Dec 29 05:54:23 2007 +0000
@@ -1,3 +1,7 @@
+2007-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* vc-hg.el (vc-hg-dir-state): Deal with the up-to-date state.
+
 2007-12-29  Jay Belanger  <jay.p.belanger@gmail.com>
 
 	* calc/calc-aent.el (math-read-token): Fix misplaced
--- a/lisp/vc-hg.el	Sat Dec 29 05:33:52 2007 +0000
+++ b/lisp/vc-hg.el	Sat Dec 29 05:54:23 2007 +0000
@@ -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))