emacs-devel
[Top][All Lists]
Advanced

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

Re: vc.el no longer recognizes files in an arch working directory


From: Miles Bader
Subject: Re: vc.el no longer recognizes files in an arch working directory
Date: Fri, 25 May 2007 13:37:03 +0900

... and the following patch seems to fix it:


--- orig/lisp/vc-hooks.el
+++ mod/lisp/vc-hooks.el
@@ -325,7 +325,7 @@
                    ;; to another user.  This should save us from looking in
                    ;; things like /net and /afs.  This assumes that all the
                    ;; files inside a project belong to the same user.
-                   (not (equal user (file-attributes file)))
+                   (not (equal user (nth 2 (file-attributes file))))
                    (string-match vc-ignore-dir-regexp file)))
       (if (file-exists-p (expand-file-name witness file))
          (setq root file)


So I'm going to commit this on the branch/trunk.

[Geez, people, please test stuff you commit on the release branch!]

-Miles

-- 
Saa, shall we dance?  (from a dance-class advertisement)




reply via email to

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