diff lisp/vc-svn.el @ 87450:71fc7b1db920

* vc-hooks.el (vc-state): Document new 'ignored and 'unregistered states. and the new return-value convention. These are not actually used yet, just set. * vc-svn.el (vc-svn-parse-status): Set 'ignored and 'unregistered states when appropriate. * vc-hg.el (vc-hg-state,vc-hg-dir-state): Set 'ignored and 'unregistered' when appropriate. * vc-git.el: Document that we don't set the new states yet. * vc.el (vc-dired-state-info): Display 'unregistered and 'ignored states. * vc-cvs.el (vc-cvs-parse-status): Set the 'ignored state when appropriate. * vc-bzr.el (vc-bzr-dir-state): Set 'ignored and 'unregistered' when appropriate.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Fri, 28 Dec 2007 18:16:55 +0000
parents 7477a697d7e1
children b5060e79eb98 56a72e2bd635
line wrap: on
line diff
--- a/lisp/vc-svn.el	Fri Dec 28 16:24:31 2007 +0000
+++ b/lisp/vc-svn.el	Fri Dec 28 18:16:55 2007 +0000
@@ -578,6 +578,10 @@
 	   (if (eq (char-after (match-beginning 1)) ?*)
 	       'needs-merge
 	     'edited))
+	  ((eq status ?I)
+	   (vc-file-setprop file 'vc-state 'ignored))
+	  ((eq status ??)
+	   (vc-file-setprop file 'vc-state 'unregistered))
 	  (t 'edited)))))
     (if filename (vc-file-getprop filename 'vc-state))))