changeset 87695:5947c9dc7f6b

(vc-svn-registered): Return the correct value for ignored and unregistered files.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 10 Jan 2008 14:17:06 +0000
parents f468b5e13da2
children d5a92df16467
files lisp/ChangeLog lisp/vc-svn.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Jan 10 11:29:41 2008 +0000
+++ b/lisp/ChangeLog	Thu Jan 10 14:17:06 2008 +0000
@@ -1,3 +1,8 @@
+2008-01-10  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* vc-svn.el (vc-svn-registered): Return the correct value for
+	ignored and unregistered files.
+
 2008-01-10  Tassilo Horn  <tassilo@member.fsf.org>
 
 	* doc-view.el (tramp): Require tramp because we use
--- a/lisp/vc-svn.el	Thu Jan 10 11:29:41 2008 +0000
+++ b/lisp/vc-svn.el	Thu Jan 10 14:17:06 2008 +0000
@@ -132,7 +132,8 @@
                ;; an `error' by vc-do-command.
                (error nil))))
         (when (eq 0 status)
-          (vc-svn-parse-status file))))))
+	  (not (memq (vc-svn-parse-status file) 
+		     '(ignored unregistered))))))))
 
 (defun vc-svn-state (file &optional localp)
   "SVN-specific version of `vc-state'."