diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-10-17 23:01:25 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-10-17 23:01:25 +0000 |
commit | bcabe045db2f9c08c2b0078e153ab458715e2ca1 (patch) | |
tree | dfa2ecd426cbecb0fd8b0d3fc73c41bf2013b5ff /lisp/vc-arch.el | |
parent | 1040d0412c2c041284248770e351c50feeebc4e7 (diff) | |
download | emacs-bcabe045db2f9c08c2b0078e153ab458715e2ca1.tar.gz |
(vc-arch-workfile-version): Don't burp if the patch-log directory is missing.
Diffstat (limited to 'lisp/vc-arch.el')
-rw-r--r-- | lisp/vc-arch.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc-arch.el b/lisp/vc-arch.el index e32fc474d94..70dbdcc85f2 100644 --- a/lisp/vc-arch.el +++ b/lisp/vc-arch.el @@ -283,8 +283,8 @@ Return non-nil if FILE is unchanged." (setq logdir (expand-file-name version logdir)) (setq logdir (expand-file-name archive logdir)) (setq logdir (expand-file-name "patch-log" logdir)) - ;; Revision names go: base-0, patch-N, version-0, versionfix-N. - (dolist (file (directory-files logdir)) + (dolist (file (if (file-directory-p logdir) (directory-files logdir))) + ;; Revision names go: base-0, patch-N, version-0, versionfix-M. (when (and (eq (aref file 0) ?v) (not sealed)) (setq sealed t rev-nb 0)) (if (and (string-match "-\\([0-9]+\\)\\'" file) |