Daniel Colascione
de76a167dc
Performance improvements for vc-hg
...
Teach vc-hg how to read some Mercurial internal data structures,
allowing us to avoid the need to run hg status -A, which is very slow
for large repositories. Fall back to running hg if anything looks
funny. vc-hg now puts the _working directory_ revision in the
modeline instead of the file revision, which greatly improves
performance and which allows us to again skip running hg in the case
that we have an active bookmark.
* lisp/vc/vc-hg.el (vc-hg-state): Try calling `vc-hg-statefast'
(vc-hg-symbolic-revision-styles)
(vc-hg-use-file-version-for-mode-line-version)
(vc-hg-parse-hg-data-structures): New user preferences
(vc-hg--active-bookmark-internal, vc-hg--run-log)
(vc-hg--symbolic-revision, vc-hg-mode-line-string)
(vc-hg--read-u8, vc-hg--read-u32-be)
(vc-hg--raw-dirstate-search, vc-hg--cached-dirstate-search)
(vc-hg--parts-to-string, vc-hg--pcre-to-elisp-re)
(vc-hg--glob-to-pcre, vc-hg--hgignore-add-pcre)
(vc-hg--hgignore-add-glob, vc-hg--hgignore-add-path)
(vc-hg--slurp-hgignore-1, vc-hg--slurp-hgignore)
(vc-hg--ignore-patterns-valid-p)
(vc-hg--ignore-patterns-ignored-p, vc-hg--time-to-fixnum)
(vc-hg--file-ignored-p, vc-hg--read-repo-requirements)
(vc-hg--requirements-understood-p, vc-hg--dirstate-scan-cache)
(vc-hg-state-fast): New functions.
(vc-hg--hgignore-patterns, vc-hg--hgignore-filenames)
(vc-hg--cached-ignore-patterns, vc-hg--dirstate-scan-cache)
(vc-hg--dirstate-scan-cache): New internal variables.
* lisp/vc/vc-hooks.el (vc-refresh-state): Invoke vc find-file-hook
before updating modeline.
2016-02-08 10:52:54 -08:00
..
2016-01-01 01:34:24 -08:00
2016-02-03 23:56:08 -08:00
2016-01-30 11:51:10 -08:00
2016-02-03 23:56:08 -08:00
2016-01-30 11:51:10 -08:00
2016-02-03 23:56:08 -08:00
2016-01-12 20:06:49 -05:00
2016-02-08 13:28:37 +11:00
2016-01-24 20:30:39 +00:00
2016-01-26 22:58:07 +09:00
2016-01-01 01:34:24 -08:00
2016-02-08 16:44:56 +11:00
2016-01-30 11:43:26 -08:00
2016-02-07 13:11:57 +11:00
2016-01-25 10:56:04 -05:00
2016-02-04 00:13:36 -05:00
2016-02-03 23:56:08 -08:00
2016-01-30 11:51:10 -08:00
2016-02-07 15:06:43 +00:00
2016-01-12 20:06:49 -05:00
2016-02-03 23:56:08 -08:00
2016-02-08 17:13:01 +11:00
2016-02-08 10:52:54 -08:00
2016-01-11 22:48:07 -08:00
2016-01-03 16:58:35 +00:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:36:41 -08:00
2016-01-01 01:34:24 -08:00
2016-01-09 16:15:01 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-02-01 20:59:32 -05:00
2016-01-24 20:30:39 +00:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-25 18:24:09 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-28 17:45:50 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-08 14:06:13 +02:00
2016-01-12 20:49:34 -05:00
2016-01-30 11:51:10 -08:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:28:37 -08:00
2016-01-18 22:56:34 -08:00
2016-01-24 07:23:33 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-21 11:19:21 +01:00
2016-01-01 01:34:24 -08:00
2016-01-24 20:30:39 +00:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-12 20:06:49 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-12 20:06:49 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-02-05 14:21:27 +11:00
2016-01-11 22:51:27 -08:00
2016-01-01 01:34:24 -08:00
2016-01-22 19:56:09 +01:00
2016-01-30 19:54:41 +00:00
2016-02-03 23:56:08 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:43:26 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-04 19:08:37 +02:00
2016-01-24 20:30:39 +00:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-30 19:54:41 +00:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:27:34 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-19 19:09:45 -05:00
2016-02-08 18:22:53 +11:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-20 15:09:09 +02:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-02-01 06:22:18 -05:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:51:10 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-30 11:51:10 -08:00
2016-01-01 01:34:24 -08:00
2016-01-07 20:56:09 +03:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-15 12:32:32 +00:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-11 22:48:07 -08:00
2016-01-11 22:48:07 -08:00
2016-01-01 01:34:24 -08:00
2015-09-16 16:09:31 -07:00
2016-01-01 01:34:24 -08:00
2016-01-12 20:06:49 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-02-01 20:59:32 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-02-03 23:56:08 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-25 18:24:09 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:51:10 -08:00
2016-01-07 20:37:17 -05:00
2016-01-24 20:30:39 +00:00
2016-02-06 14:08:26 +11:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-13 20:18:53 -05:00
2016-01-01 01:34:24 -08:00
2016-01-20 20:11:16 -05:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:51:10 -08:00
2016-01-30 11:51:10 -08:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:51:10 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-29 11:14:13 +01:00
2016-01-01 01:34:24 -08:00
2016-01-30 11:51:10 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-01-01 01:34:24 -08:00
2016-02-03 17:20:17 -08:00