emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r105639: Add missing piece of earlier


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105639: Add missing piece of earlier commit.
Date: Fri, 02 Sep 2011 00:54:34 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105639
fixes bug(s): http://debbugs.gnu.org/9391
author: Thierry Volpiatto <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2011-09-02 00:54:34 -0700
message:
  Add missing piece of earlier commit.
  
  * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.
modified:
  lisp/vc/vc-rcs.el
=== modified file 'lisp/vc/vc-rcs.el'
--- a/lisp/vc/vc-rcs.el 2011-03-03 07:52:10 +0000
+++ b/lisp/vc/vc-rcs.el 2011-09-02 07:54:34 +0000
@@ -314,7 +314,10 @@
 (defun vc-rcs-responsible-p (file)
   "Return non-nil if RCS thinks it would be responsible for registering FILE."
   ;; TODO: check for all the patterns in vc-rcs-master-templates
-  (file-directory-p (expand-file-name "RCS" (file-name-directory file))))
+  (file-directory-p (expand-file-name "RCS"
+                                      (if (file-directory-p file)
+                                          file
+                                        (file-name-directory file)))))
 
 (defun vc-rcs-receive-file (file rev)
   "Implementation of receive-file for RCS."


reply via email to

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