]> git.eshelyaron.com Git - emacs.git/commit
Use faster option for running vc-hg status (Bug#63470)
authorSpencer Baugh <sbaugh@janestreet.com>
Fri, 12 May 2023 19:28:06 +0000 (15:28 -0400)
committerDmitry Gutov <dmitry@gutov.dev>
Mon, 22 May 2023 22:27:16 +0000 (01:27 +0300)
commitd4ff1d74209e97730c52ddd50c4d643c79087a33
tree548a5198ceba168c8088223d5842c5862675ad3a
parentf33b301c29380cb0b295e1343e59c0faaf6ab621
Use faster option for running vc-hg status (Bug#63470)

In modern Mercurial, removing the "re:" "-I" "." options provides a
10x-20x speedup because it allows the Rust implementation of "hg
status" to be used.

* lisp/vc/vc-hg.el (vc-hg--program-version): Add.
(vc-hg-dir-status-files): Use --config commands.status.relative=1 to
make paths relative when available.
lisp/vc/vc-hg.el