sapling/contrib
FUJIWARA Katsunori 9d79ac8dbc perf: get subsettable from appropriate module for Mercurial earlier than 2.9
Before this patch, using branchmap.subsettable prevents perfbranchmap
from measuring performance of Mercurial earlier than 2.9 (or
aad678a92970), because aad678a92970 moved subsettable from repoview.py
to branchmap.py, even though there are some code paths for Mercurial
earlier than 2.9 in perf.py.

For example, setting "_prereadsize" attribute in perfindex() and
perfnodelookup() is effective only with hg earlier than 1.8 (or
1299f0c14572).

To get subsettable from appropriate module, this patch examines
existence of subsettable in branchmap and repoview.

This patch also adds check-perf-code.py an extra check entry to detect
direct usage of subsettable attribute in perf.py.
2016-10-09 01:03:17 +09:00
..
chg chg: just take it as EOF if recv() returns 0 2016-08-05 21:21:33 +09:00
debian debian: update source URL in copyright file 2016-08-04 19:49:07 +08:00
docker make: turn ubuntu docker into template 2016-04-26 23:33:17 -07:00
hgsh backout of e4cb9628354c 2011-01-27 11:15:08 +01:00
macosx osx: update bugzilla link in readme 2016-08-04 19:53:46 +08:00
plan9 urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
vagrant vagrant: update to official Debian 8.1 base box 2015-09-02 11:52:24 -05:00
vim urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
win32 win32: update link to mailing list in readme 2016-08-04 19:50:25 +08:00
wix help: internals topic for wire protocol 2016-08-22 19:46:39 -07:00
all-revsets.txt revset: improves time complexity of 'roots(xxx)' 2015-06-22 10:19:12 -07:00
base-revsets.txt contrib: introduce an all-revsets.txt file 2015-06-16 22:15:30 -07:00
bash_completion bashcompletion: show available command-line switches for aliases 2016-06-21 17:15:51 +01:00
bdiff-torture.py py3: make contrib/bdiff-torture.py conform to our import style 2016-05-14 14:18:15 +09:00
builddeb builddeb: add distroseries to tagged versions 2016-05-06 14:09:11 -07:00
buildrpm buildrpm: use bash shebang, since we use bash features in the script 2016-01-15 16:16:25 +01:00
casesmash.py casesmash: use absolute_import 2016-03-06 02:25:50 +05:30
check-code.py check-code: allow assignment to hasattr variable 2016-08-16 17:15:54 +09:00
check-commit check-commit: allow underscore as commit topic 2016-10-05 15:28:34 +02:00
check-config.py check-config: use absolute_import and print_function 2016-03-06 03:01:46 +05:30
check-py3-compat.py py3: make check-py3-compat.py import importlib only if necessary 2016-10-09 17:02:34 +02:00
debugcmdserver.py debugcmdserver: use absolute_import and print_function 2016-03-06 03:06:09 +05:30
debugshell.py check-code: detect "missing _() in ui message" more exactly 2016-06-21 00:50:39 +09:00
dirstatenonnormalcheck.py devel: use the 'config' argument for the dirstate normalisation develwarn 2016-05-08 10:43:41 +02:00
dockerdeb dockerdeb: pass the rest of the args to the builder script 2016-04-23 12:47:57 -07:00
dockerlib.sh dockerlib: short form for non-unique uid/gid for CentOS 5 compat (issue4977) 2015-12-07 17:39:31 +01:00
dockerrpm buildrpm: move creation of RPM directories from dockerrpm 2016-01-07 06:44:37 +01:00
dumprevlog py3: make contrib/dumprevlog use print_function 2016-05-13 02:16:32 +05:30
editmerge editmerge: dequote other use of $ED 2015-10-19 21:36:12 -07:00
fixpax.py fixpax: use absolute_import and print_function 2016-03-06 03:10:17 +05:30
hg-ssh misc: use modern exception syntax 2016-02-10 22:44:29 +09:00
hg-test-mode.el hg-test-mode: make exit code highlight work again 2014-08-12 12:53:23 -05:00
hgclient.py test-commandserver: handle cStringIO.StringIO/io.StringIO divergence 2016-04-06 20:34:34 +00:00
hgk hgk: display committer name when set by hg-git 2015-04-03 22:44:25 +02:00
hgperf contrib: add "hgperf" command to measure performance of commands easily 2014-02-15 19:51:20 +09:00
hgweb.fcgi mq: add a warning about uncommitted changes for qfinish 2011-11-10 15:40:34 -06:00
hgweb.wsgi urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
import-checker.py import-checker: ensure cffi is always a system module 2016-06-23 20:45:37 -04:00
logo-droplets.svg logo: clean up source file with scour 2010-04-05 14:33:41 -05:00
Makefile.python contrib: disable SSLv3_method() to build old Python with recent libssl 2015-11-07 16:31:04 +09:00
memory.py contrib: make memory.py use absolute_import 2016-03-13 01:32:42 +05:30
mercurial.el en-us: penalize 2012-08-17 13:58:19 -07:00
mercurial.spec rpms: add hgext3rd to mercurial.spec 2016-03-23 11:53:11 +08:00
mq.el Remove FSF mailing address from GPL headers 2012-01-06 16:27:13 +01:00
packagelib.sh packagelib: do not remove packages directory in hggetversion (issue5262) 2016-07-29 00:45:24 +02:00
perf.py perf: get subsettable from appropriate module for Mercurial earlier than 2.9 2016-10-09 01:03:17 +09:00
pylintrc codingstyle: remove trailing spaces in various text files 2013-04-17 03:40:18 +02:00
python-hook-examples.py contrib: python-hook-examples use absolute_import 2016-03-16 04:13:28 +05:30
revsetbenchmarks.py py3: make contrib/revsetbenchmarks.py not import symbols from stdlib modules 2016-05-14 14:23:04 +09:00
showstack.py showstack: use absolute_import 2016-03-13 01:59:18 +05:30
simplemerge misc: use modern exception syntax 2016-02-10 22:44:29 +09:00
synthrepo.py extensions: change magic "shipped with hg" string 2016-08-23 11:26:08 -04:00
tcsh_completion contrib: update tcsh_completion for Mercurial 1.8 2011-03-01 07:28:20 +01:00
tcsh_completion_build.sh contrib: update tcsh_completion for Mercurial 1.8 2011-03-01 07:28:20 +01:00
undumprevlog py3: make contrib/undumprevlog use absolute_import 2016-05-13 02:23:45 +05:30
xml.rnc Added RelaxNG schema for hg log XML output format 2009-12-30 02:44:37 +01:00
zsh_completion zsh_completion: update some option usage flags ('+', '=' and ':') 2016-10-04 20:49:59 +08:00