1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

Fix bug#19304

Fixes: debbugs:19304

* lisp/vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
when FILES is non-nil.
This commit is contained in:
Dmitry Gutov 2014-12-08 18:24:07 +02:00
parent 7fb8fc35eb
commit 5872f843ff
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
* vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
when FILES is non-nil (bug#19304).
2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
* vc/vc-arch.el: Moved to obsolete directory so a test framework

View File

@ -613,9 +613,11 @@ REV is the revision to check out into WORKFILE."
(declare-function vc-set-async-update "vc-dispatcher" (process-buffer))
(defun vc-hg-dir-status-files (dir files update-function)
(apply 'vc-hg-command (current-buffer) 'async dir "status" "-mardui" "-C" files)
(apply 'vc-hg-command (current-buffer) 'async dir "status"
(concat "-mardu" (if files "i"))
"-C" files)
(vc-run-delayed
(vc-hg-after-dir-status update-function)))
(vc-hg-after-dir-status update-function)))
(defun vc-hg-dir-extra-header (name &rest commands)
(concat (propertize name 'face 'font-lock-type-face)