Commit 12b1cce9 authored by Wolfgang Scherer's avatar Wolfgang Scherer Committed by Lars Ingebrigtsen
Browse files

Do not use error messages as list of ignored files in vc-svn

* lisp/vc/vc-svn.el: (vc-svn-ignore-completion-table) Ignore buffer
contents, if exit status is not 0.  Split buffer by lines (bug#37214).
parent f144c87f
Pipeline #3138 failed with stage
in 90 minutes and 1 second
......@@ -366,8 +366,9 @@ FILE is a file wildcard, relative to the root directory of DIRECTORY."
(defun vc-svn-ignore-completion-table (directory)
"Return the list of ignored files in DIRECTORY."
(vc-svn-command t t nil "propget" "svn:ignore" (expand-file-name directory))
(split-string (buffer-string))))
(when (zerop (vc-svn-command
t t nil "propget" "svn:ignore" (expand-file-name directory)))
(split-string (buffer-string) "\n"))))
(defun vc-svn-find-admin-dir (file)
"Return the administrative directory of FILE."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment