1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00
emacs/lisp/vc
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
..
add-log.el * lisp/vc/add-log.el (change-log-directory-files, find-change-log): 2016-02-02 13:14:45 -05:00
compare-w.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cvs-status.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
diff-mode.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
diff.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-diff.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-help.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-hook.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-init.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-merg.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-mult.el Mark some user options that can get evalled as risky. 2016-01-30 11:36:41 -08:00
ediff-ptch.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-util.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-vers.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-wind.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
emerge.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
log-edit.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
log-view.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcvs-defs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcvs-info.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcvs-parse.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcvs-util.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcvs.el Expunge "allow" + infinitive without direct object from source and doc. 2016-01-24 20:30:39 +00:00
smerge-mode.el Change Smerge "Mine" and "Other" for "Upper" and "Lower. (Bug#20878) 2016-01-30 19:01:57 -08:00
vc-annotate.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-bzr.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-cvs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-dav.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-dir.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-dispatcher.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-filewise.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-git.el Implement vc-mtn-find-ignore-file, fix some doc strings 2016-01-29 17:46:18 -06:00
vc-hg.el Performance improvements for vc-hg 2016-02-08 10:52:54 -08:00
vc-hooks.el Performance improvements for vc-hg 2016-02-08 10:52:54 -08:00
vc-mtn.el Fix typo in previous commits 2016-01-29 17:53:35 -06:00
vc-rcs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-sccs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-src.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-svn.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00