Avoid assertions in vc-hg.el on MS-Windows
commit4a755ed42158b6a165bfd689e2d974d0ccda7530
authorAndy Moreton <andrewjmoreton@gmail.com>
Sat, 30 Sep 2017 13:21:39 +0000 (30 16:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Sep 2017 13:21:39 +0000 (30 16:21 +0300)
treea3c786c4ceb5d1be28e9856c93cbecce6d711725
parentcb93a6ce72c5d238c6f120192aaba1554363dfe9
Avoid assertions in vc-hg.el on MS-Windows

* lisp/vc/vc-hg.el (vc-hg--pcre-to-elisp-re)
(vc-hg--slurp-hgignore, vc-hg--read-repo-requirements)
(vc-hg-state-fast): Use file-name-absolute-p and directory-name-p
instead of relying on Unix file-name syntax.  This avoids
assertion violations on MS-Windows.
lisp/vc/vc-hg.el