mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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).
This commit is contained in:
parent
f144c87f92
commit
12b1cce925
1 changed files with 3 additions and 2 deletions
|
|
@ -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."
|
||||
(with-temp-buffer
|
||||
(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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue