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-cvs.el,v


From: Sam Steingold
Subject: [Emacs-diffs] Changes to emacs/lisp/vc-cvs.el,v
Date: Thu, 05 Jun 2008 18:52:49 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Sam Steingold <sds>     08/06/05 18:52:48

Index: vc-cvs.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-cvs.el,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -b -r1.142 -r1.143
--- vc-cvs.el   3 Jun 2008 21:30:35 -0000       1.142
+++ vc-cvs.el   5 Jun 2008 18:52:48 -0000       1.143
@@ -196,16 +196,16 @@
         ;; make sure that the file name is searched case-sensitively
         (case-fold-search nil))
     (if (file-readable-p (expand-file-name "CVS/Entries" dirname))
+        (or (string= basename "")
        (with-temp-buffer
           (vc-cvs-get-entries dirname)
           (goto-char (point-min))
-         (cond
-          ((re-search-forward
+              (cond ((re-search-forward
             (concat "^/" (regexp-quote basename) "/[^/]") nil t)
            (beginning-of-line)
            (vc-cvs-parse-entry file)
            t)
-          (t nil)))
+                    (t nil))))
       nil)))
 
 (defun vc-cvs-state (file)




reply via email to

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