sapling/mercurial
Adam Simpkins 640d8f6565 restore part of the mercurial.sparse module
Summary:
D12811551 removed the mercurial.sparse module.  However, actual removal of the
module needs to wait until the changes to the eden dirstate extension get
deployed.

This restores the module until all of the Eden changes have been deployed.
This module only contains a dummy `matcher()` function, which is the only part
of the module that Eden referenced.

This was causing exceptions for users with the a mercurial release from today,
but an Eden release from yesterday.  The exception would normally only occur
when using chg, since chg disables lazyimport.  Without chg, lazyimport would
allow the import to succeed even though the module does not exist.

Reviewed By: DurhamG

Differential Revision: D12877889

fbshipit-source-id: 2c6afd9bcb7031727b40fd32fbc1ba1356eb6e9b
2018-10-31 19:48:30 -07:00
..
cext osutil: get argv[0] on Linux more reliably 2018-10-30 14:11:16 -07:00
cffi codemod: add copyright headers 2018-10-26 15:09:12 -07:00
commands test-check-code: fix the test failure 2018-10-31 13:04:02 -07:00
default.d mergetools.rc: find OSX FileMerge in the new location inside Xcode 4.3 2015-10-16 11:37:34 +02:00
help sparse: drop mercurial.sparse 2018-10-30 19:22:43 -07:00
hgweb profiling: remove redundant "enabled" argument from "profiling.profile" 2018-09-14 19:05:35 -07:00
httpclient codemod: reformat rest of the code 2018-07-05 17:52:43 -07:00
pure Format with black 18.9b0 2018-10-01 07:21:42 -07:00
rust threading: use safer Rust in threading.Condition 2018-10-27 15:16:25 -07:00
templates hgweb: stop using HTML comments in <script> 2017-12-15 12:15:58 +08:00
thirdparty Format with black 18.9b0 2018-10-01 07:21:42 -07:00
__init__.py legacyui: remove it since the Rust config parser is working fine 2018-09-21 14:37:22 -07:00
ancestor.py Additional info in function comment for commonancestorheads 2018-06-20 09:35:30 -07:00
archival.py Format with black 18.9b0 2018-10-01 07:21:42 -07:00
bdiff.c hg: disable check-code tests for C code 2018-06-05 19:21:43 -07:00
bdiff.h hg: disable check-code tests for C code 2018-06-05 19:21:43 -07:00
bitmanipulation.h hg: disable check-code tests for C code 2018-06-05 19:21:43 -07:00
bookmarks.py bookmarks: use repo.localvfs and repo.sharedvfs instead of repo.vfs 2018-09-28 07:23:00 -07:00
branchmap.py perftweaks: port _branchmapupdate to core 2018-10-18 07:24:23 -07:00
bundle2.py bundle2: use repo bundle2 capabilities when making local bundles 2018-07-31 10:23:21 -07:00
bundlerepo.py hg: use repo.localvfs instead of repo.vfs 2018-09-28 07:23:00 -07:00
byterange.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
changegroup.py verify LFS blobs were uploaded before push 2018-08-20 16:51:07 -07:00
changelog.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
chgserver.py chgserver: drop walkconfig hack 2018-07-23 19:51:02 -07:00
cmdutil.py cmdutil: add message template for amend -m 2018-10-27 11:32:05 -07:00
color.py color: support truecolor terminals 2018-10-27 10:32:32 -07:00
commandserver.py commandserver: set pycompact.sysargv on runcommand 2018-07-09 10:20:36 -07:00
compat.h hg: disable check-code tests for C code 2018-06-05 19:21:43 -07:00
config.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
configitems.py uncommit: move to core 2018-10-30 08:00:05 -07:00
connectionpool.py connectionpool: fix wrapping of cleanup 2018-06-21 23:20:10 -07:00
context.py sparse: drop mercurial.sparse 2018-10-30 19:22:43 -07:00
copies.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
crecord.py windows: make curses work 2018-08-29 13:37:26 -07:00
dagop.py commitcloud: prototype for hg cloud sl command 2018-08-02 12:50:44 -07:00
dagparser.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
dagutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
debugcommands.py progress: clear progress bar when locking to suspend 2018-10-30 07:41:05 -07:00
destutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
dirstate.py dirstate: restore "sparsematchfn" argument 2018-10-31 02:50:28 -07:00
dirstateguard.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
discovery.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
dispatch.py identity: add templating of program name 2018-10-26 04:19:01 -07:00
drawdag.py drawdag: support removing files 2018-06-29 11:35:29 -07:00
dummycert.pem ssl: on OS X, use a dummy cert to trick Python/OpenSSL to use system CA certs 2014-09-26 02:19:48 +02:00
encoding.py Format with black 18.9b0 2018-10-01 07:21:42 -07:00
entrypoint.py entrypoint: avoid importing heavy modules before demandimport is in play 2018-10-23 08:27:35 -07:00
error.py lock: rename locker to lockinfo and clarify its usage 2018-08-08 16:20:20 -07:00
exchange.py remotefilelog: don't process manifests when not necessary 2018-06-19 10:20:07 -07:00
executionmodel.py entrypoint: avoid importing heavy modules before demandimport is in play 2018-10-23 08:27:35 -07:00
extensions.py uncommit: move to core 2018-10-30 08:00:05 -07:00
fancyopts.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
filelog.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
filemerge.py filemerge: print the potentially conflicting destination commits for each conflict 2018-10-25 14:02:51 -07:00
fileset.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
formatter.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
fscap.py pathutil: don't check for case sensitivity on always case-sensitive filesystems 2018-09-24 14:23:03 -07:00
graphmod.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
hbisect.py bisect: don't test empty commits in sparse profiles 2018-10-08 06:16:19 -07:00
help.py identity: add templating of program name 2018-10-26 04:19:01 -07:00
hg.py perftweaks: move update --inactive to core 2018-10-15 16:55:34 -07:00
hintutil.py hint: point people to gitignore QA page 2018-08-20 13:51:32 -07:00
hook.py txnutil: add HG_SHAREDPENDING and trysharedpending 2018-09-28 07:23:00 -07:00
httpconnection.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
httppeer.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
i18n.py identity: add templating of program name 2018-10-26 04:19:01 -07:00
identity.py identity: add templating of program name 2018-10-26 04:19:01 -07:00
interpreter.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
json.py debugcommands: add a "debugprocesstree" command 2018-08-22 21:35:19 -07:00
keepalive.py config: change order semantics 2018-08-09 21:21:51 -07:00
localrepo.py sparse: drop mercurial.sparse 2018-10-30 19:22:43 -07:00
lock.py lock: remove stale POSIX symlink lock automatically in makelock 2018-09-13 12:20:51 -07:00
logexchange.py hg: use repo.localvfs instead of repo.vfs 2018-09-28 07:23:00 -07:00
lsprof.py codemod: add copyright headers 2018-10-26 15:09:12 -07:00
lsprofcalltree.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
mail.py codemod: reformat rest of the code 2018-07-05 17:52:43 -07:00
manifest.py Format with black 18.9b0 2018-10-01 07:21:42 -07:00
match.py match: optimize visitdir more aggressively for dynamic patterns 2018-10-19 19:37:16 -07:00
mdiff.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
merge.py sparse: drop mercurial.sparse 2018-10-30 19:22:43 -07:00
mergeutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
metrics.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
minirst.py identity: add templating of program name 2018-10-26 04:19:01 -07:00
mpatch.c hg: disable check-code tests for C code 2018-06-05 19:21:43 -07:00
mpatch.h hg: disable check-code tests for C code 2018-06-05 19:21:43 -07:00
namespaces.py codemod: add copyright headers 2018-10-26 15:09:12 -07:00
node.py Format with black 18.9b0 2018-10-01 07:21:42 -07:00
obsolete.py Format with black 18.9b0 2018-10-01 07:21:42 -07:00
obsutil.py fbamend: move predecessor/successor revsets to core 2018-10-03 13:32:56 -07:00
parser.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
patch.py codemod: reformat rest of the code 2018-07-05 17:52:43 -07:00
pathutil.py codemod: add copyright headers 2018-10-26 15:09:12 -07:00
peer.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
phases.py txnutil: add HG_SHAREDPENDING and trysharedpending 2018-09-28 07:23:00 -07:00
policy.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
posix.py entrypoint: avoid importing heavy modules before demandimport is in play 2018-10-23 08:27:35 -07:00
profiling.py statprof: stop early if profiling ends early 2018-09-26 17:52:27 -07:00
progress.py progress: clear progress bar when locking to suspend 2018-10-30 07:41:05 -07:00
pushkey.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
pvec.py Format with black 18.9b0 2018-10-01 07:21:42 -07:00
pycompat.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
rcutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
registrar.py help: enable categorization of subcommands 2018-10-19 06:51:42 -07:00
repair.py hg: use repo.localvfs instead of repo.vfs 2018-09-28 07:23:00 -07:00
repository.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
repoview.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
revlog.py Format with black 18.9b0 2018-10-01 07:21:42 -07:00
revset.py revset: fix gendoc for ancestorsaged 2018-10-09 06:59:27 -07:00
revsetlang.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
rewriteutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
scmposix.py codemod: add copyright headers 2018-10-26 15:09:12 -07:00
scmutil.py merge: add ancestors as transient propeties to mergestate 2018-10-29 21:04:02 -07:00
scmwindows.py codemod: add copyright headers 2018-10-26 15:09:12 -07:00
server.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
setdiscovery.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
similar.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
simplemerge.py simplemerge: return number of conflicts, not just 1 2018-09-21 16:35:28 -07:00
smartset.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
sparse.py restore part of the mercurial.sparse module 2018-10-31 19:48:30 -07:00
sshpeer.py ssh: remove "remote:" prefix if the stderr message starts with "ssh:" 2018-10-18 19:56:49 -07:00
sshserver.py serve: change process title to be more meaningful 2018-10-27 15:12:03 -07:00
sslutil.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
statichttprepo.py localrepo: devel-warn when accessing repo.vfs directly 2018-09-28 07:23:02 -07:00
statprof.py statprof: stop early if profiling ends early 2018-09-26 17:52:27 -07:00
store.py store: encode even longer names further 2018-09-20 08:35:09 -07:00
streamclone.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
subrepo.py hg: use repo.localvfs instead of repo.vfs 2018-09-28 07:23:00 -07:00
tagmerge.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
tags.py perftweaks: port _readtagcache optimization to core 2018-10-17 12:02:44 -07:00
templatefilters.py templatefilters: move json serialization to a separate module 2018-07-09 10:20:36 -07:00
templatekw.py templatekw: implement nodechanges as a template keyword 2018-06-06 15:43:25 -07:00
templater.py templater: allow non-ASCII fillchar in pad() 2018-07-05 14:20:44 -07:00
transaction.py truncate: handle bug in truncate 2018-05-30 18:20:57 -07:00
treedirstate.py dirstate: move some untrack() use cases into delete() 2018-10-12 09:38:25 -07:00
treediscovery.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
treestate.py dirstate: remove NEED_CHECK state automatically 2018-10-29 20:06:09 -07:00
txnutil.py txnutil: add HG_SHAREDPENDING and trysharedpending 2018-09-28 07:23:00 -07:00
ui.py progress: rewrite suspend to make __exit__ atomic 2018-10-25 13:12:00 -07:00
unionrepo.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
upgrade.py hg: use repo.localvfs instead of repo.vfs 2018-09-28 07:23:00 -07:00
url.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
urllibcompat.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
util.py fix usage of re.sub in stripansiescapes 2018-10-29 18:45:00 -07:00
verify.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
vfs.py Back out "vfs: do not unlink files with one hardlink on Windows" 2018-06-19 16:19:51 -07:00
win32.py Format with black 18.9b0 2018-10-01 07:21:42 -07:00
windows.py entrypoint: avoid importing heavy modules before demandimport is in play 2018-10-23 08:27:35 -07:00
wireproto.py wireproto: log reponame 2018-10-02 05:05:41 -07:00
worker.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00