emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/vc-rcs.el,v


From: Eric S. Raymond
Subject: [Emacs-diffs] Changes to emacs/lisp/vc-rcs.el,v
Date: Thu, 01 May 2008 19:13:22 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Eric S. Raymond <esr>   08/05/01 19:13:16

Index: vc-rcs.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-rcs.el,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- vc-rcs.el   29 Apr 2008 15:32:56 -0000      1.65
+++ vc-rcs.el   1 May 2008 19:13:15 -0000       1.66
@@ -118,6 +118,8 @@
 
 (defun vc-rcs-state (file)
   "Implementation of `vc-state' for RCS."
+  (if (not (vc-rc-registered f))
+      'unregistered
   (or (boundp 'vc-rcs-headers-result)
       (and vc-consult-headers
            (vc-rcs-consult-headers file)))
@@ -134,7 +136,7 @@
           'up-to-date
         (if (eq (vc-rcs-checkout-model file) 'locking)
             'unlocked-changes
-          'edited)))))
+           'edited))))))
 
 (defun vc-rcs-state-heuristic (file)
   "State heuristic for RCS."
@@ -889,7 +891,7 @@
               ;; workfile version is latest on branch
               'up-to-date
             ;; workfile version is not latest on branch
-            'needs-patch))
+            'needs-update))
         ;; locked by the calling user
         ((and (stringp locking-user)
               (string= locking-user (vc-user-login-name file)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]