]> git.eshelyaron.com Git - emacs.git/commit
vc-hg-dir-status-files: Fix when DIR is not repository root
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 11 Feb 2020 21:45:52 +0000 (23:45 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 11 Feb 2020 22:29:39 +0000 (00:29 +0200)
commit3a5129a1c963d66a1b2e6db27e1063d171e8ae0c
tree412fd428219bff579523202beb5f418a518920bb
parent89d0c4451f4807a5f0e1adf9a9df395f84407066
vc-hg-dir-status-files: Fix when DIR is not repository root

* lisp/vc/vc-hg.el (vc-hg-dir-status-files):
Make sure it works correctly in a subdirectory of the repo root.
Bind default-directory to DIR and add 're: -I .' to the arguments
(bug#39380).
lisp/vc/vc-hg.el