From ff4ed4a0ff5929d5ea81a0590ac1a4ca8dfc31ce Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 12 Feb 2020 00:19:25 +0200 Subject: [PATCH] ; Add a TODO --- lisp/vc/vc-hg.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index a91e1f5ad6c..d00b69c0d08 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el @@ -1356,6 +1356,9 @@ REV is the revision to check out into WORKFILE." ;; XXX: We can't pass DIR directly to 'hg status' because that ;; returns all ignored files if FILES is non-nil (bug#22481). (let ((default-directory dir)) + ;; TODO: Use "--config 'status.relative=1'" instead of "re:" + ;; when we're allowed to depend on Mercurial 4.2+ + ;; (it's a bit faster). (vc-hg-command (current-buffer) 'async files "status" "re:" "-I" "." (concat "-mardu" (if files "i")) -- 2.39.5