sapling/mercurial
Jun Wu af2ff7c3d4 extensions: move the "import" logic out from "load"
The "load" method does too many things: on-demand import and check version.
This patch moves the import logic out from "load" so it could be wrapped to
change the import behavior, for example, chg will use it to pre-import
extensions.
2016-10-03 03:37:10 +01: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 templates: add built-in files() function 2016-09-23 08:15:05 +00:00
hgweb wireproto: rename argument to groupchunks() 2016-09-25 12:20:31 -07:00
httpclient httpclient: update to 54868ef054d2 of httpplus 2016-06-27 11:53:50 -04:00
pure lazymanifest: write a more efficient, pypy friendly version of lazymanifest 2016-09-12 13:37:14 +02:00
templates hgweb: make anchor name actually match its href on help index page 2016-09-26 16:12:40 +08:00
__init__.py py3: switch to .items() using transformer 2016-10-07 15:29:57 +02:00
ancestor.py py3: convert to next() function 2016-05-16 21:30:53 +00:00
archival.py py3: remove use of *L syntax 2016-09-01 02:29:46 +05:30
base85.c base85: fix comparison of an int and a long 2015-08-21 14:29:42 -04:00
bdiff_module.c bdiff: split bdiff into cpy-aware and cpy-agnostic part 2016-07-13 10:46:26 +02:00
bdiff.c bdiff: split bdiff into cpy-aware and cpy-agnostic part 2016-07-13 10:46:26 +02:00
bdiff.h bdiff: split bdiff into cpy-aware and cpy-agnostic part 2016-07-13 10:46:26 +02:00
bitmanipulation.h internals: move the bitmanipulation routines into its own file 2016-06-06 13:08:13 +02:00
bookmarks.py bookmarks: abort 'push -B .' when no active bookmark 2016-06-13 23:50:26 +02:00
branchmap.py rbc: fix superfluous rebuilding from scratch - don't abuse self._rbcnamescount 2016-07-18 22:25:09 +02:00
bundle2.py pycompat: provide 'ispy3' constant 2016-09-28 20:01:23 +09:00
bundlerepo.py i18n: translate abort messages 2016-06-14 11:53:55 +02:00
byterange.py pycompat: switch to util.urlreq/util.urlerr for py3 compat 2016-04-06 23:22:12 +00:00
changegroup.py bundle2: store changeset count when creating file bundles 2016-07-17 15:13:51 -07:00
changelog.py changelog: specify checkambig=True to revlog.__init__, to avoid ambiguity 2016-09-22 21:51:59 +09:00
cmdutil.py log: copy the way of ancestor traversal to --follow matcher (issue5376) 2016-09-24 19:58:23 +09:00
commands.py merge with stable 2016-10-01 15:10:38 -04:00
commandserver.py commandserver: update comment about setpgid 2016-07-18 15:59:08 +01:00
compat.h compat: define ssize_t as int on 32bit Windows, silences C4142 warning 2016-07-15 23:54:56 +09:00
config.py config: add hasconfig method and supporting plumbing 2016-01-07 19:45:03 -08:00
context.py annotate: calculate line count correctly 2016-10-01 14:18:58 +01:00
copies.py copies: mark checkcopies as internal with the _ prefix 2016-10-03 13:24:56 +02:00
crecord.py crecord: properly handle files with No newline at eof (issue5268) 2016-09-02 20:15:37 +00:00
dagparser.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
dagutil.py dagutil: use absolute_import 2015-08-08 19:04:09 -07:00
demandimport.py demandimport: add 'nt' to ignore list (issue5373) 2016-09-27 21:56:00 +09:00
destutil.py update: use single quotes in use warning 2016-09-02 21:49:33 +00:00
diffhelpers.c diffhelpers: fix botched return statement from e48d70075d8a 2015-01-28 13:34:20 -05:00
dirs.c dirs._addpath: reinstate use of Py_CLEAR 2015-04-07 20:43:04 -07:00
dirstate.py dirstate: rebuild should update dirstate properly 2016-08-30 15:16:28 -07:00
discovery.py discovery: use single quotes in use warning 2016-09-20 23:47:30 +00:00
dispatch.py dispatch: make hg --profile wrap reposetup 2016-09-22 12:36:30 -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 py3: convert encoding name and mode to str 2016-09-28 20:39:06 +09:00
error.py shelve: make unshelve be able to abort in any case 2016-07-13 16:16:18 +01:00
exchange.py exchange: correctly specify url to unbundle (issue5145) 2016-08-05 16:25:15 -04:00
exewrapper.c exewrapper: add .dll to LoadLibrary() argument 2016-04-27 09:23:39 -07:00
extensions.py extensions: move the "import" logic out from "load" 2016-10-03 03:37:10 +01:00
fancyopts.py flags: allow specifying --no-boolean-flag on the command line (BC) 2016-09-13 22:57:57 -04:00
filelog.py filelog: use absolute_import 2015-08-08 19:11:42 -07:00
filemerge.py merge: always use other, not remote, in user prompts 2016-08-12 05:56:40 -07:00
fileset.py help: clarify quotes are needed for filesets.size expressions 2016-09-21 16:33:37 +00:00
formatter.py py3: conditionalize cPickle import by adding in util 2016-06-04 14:38:00 +05:30
graphmod.py revset: add new topographical sort 2016-06-13 18:20:00 +01:00
hbisect.py with: use context manager in bisect save_state 2016-01-15 13:14:49 -08:00
help.py help: mark boolean flags with [no-] to explain that they can be negated 2016-09-13 22:58:12 -04:00
hg.py hg: set default path correctly when doing a clone+share (issue5378) 2016-10-02 22:34:40 -07:00
hook.py hook: split config reading further 2016-04-14 17:03:49 -07:00
httpconnection.py httpconnection: remove use of sslkwargs 2016-05-25 19:54:06 -07:00
httppeer.py py3: conditionalize httplib import 2016-06-28 16:01:53 +05:30
i18n.py py3: convert to unicode to pass into encode() 2016-10-07 12:13:28 +02:00
keepalive.py keepalive: switch from thread to threading module 2016-07-01 19:17:16 +05:30
localrepo.py localrepo: use single quotes in use warning 2016-09-20 23:48:08 +00:00
lock.py lock: clear postrelease hooks list after usage 2016-04-16 09:00:15 -07:00
lsprof.py lsprof: use print function 2016-01-02 11:40:53 -08:00
lsprofcalltree.py lsprofcalltree: use print function 2016-01-02 11:45:29 -08:00
mail.py mail: unsupport smtp.verifycert (BC) 2016-06-04 11:13:28 -07:00
manifest.c lazymanifest: fix typo s/typles/tuples/ 2016-05-27 21:24:05 +02:00
manifest.py lazymanifest: write a more efficient, pypy friendly version of lazymanifest 2016-09-12 13:37:14 +02:00
match.py i18n: translate abort messages 2016-06-14 11:53:55 +02:00
mdiff.py mdiff: remove unused parameter 'refine' from allblocks() 2016-09-27 14:46:34 +02:00
merge.py update: fix bug when update tries to modify folder symlink 2016-07-21 15:55:47 -07:00
minirst.py help: search section of help topic by translated section name correctly 2016-05-13 07:19:59 +09:00
mpatch_module.c mpatch: raise MemoryError instead of mpatchError if lalloc() failed 2016-08-07 10:06:56 +09:00
mpatch.c internals: move the bitmanipulation routines into its own file 2016-06-06 13:08:13 +02:00
mpatch.h mpatch: raise MemoryError instead of mpatchError if lalloc() failed 2016-08-07 10:06:56 +09:00
namespaces.py namespaces: fix name/node confusion 2016-03-16 23:12:43 +00:00
node.py node: use byte literals to construct nullid and wdirid 2016-03-12 14:04:57 -08:00
obsolete.py obsolete: use single quotes in use warning 2016-09-20 23:48:19 +00:00
osutil.c osutil: stop using strcpy 2016-03-19 20:02:19 -04:00
parser.py parser: shorten prefix of alias parsing errors 2016-04-17 12:31:06 +09:00
parsers.c internals: move the bitmanipulation routines into its own file 2016-06-06 13:08:13 +02:00
patch.py patch: allow copy information to be passed in 2016-06-27 12:11:18 +02:00
pathencode.c pathencode: use hashlib.sha1 directly instead of indirecting through util 2016-06-10 00:25:07 -04:00
pathutil.py util: rename checkcase() to fscasesensitive() (API) 2016-08-30 09:22:53 -07:00
peer.py py3: convert to next() function 2016-05-16 21:30:53 +00:00
phases.py phases: make writing phaseroots file out avoid ambiguity of file stat 2016-06-03 00:44:20 +09:00
policy.py policy: add cffi policy for PyPy 2016-06-07 15:35:58 +02:00
posix.py chgserver: extract utility to bind unix domain socket to long path 2016-05-21 16:52:04 +09:00
profiling.py profiling: don't error with statprof when profiling has already started 2016-08-14 18:28:43 -07:00
progress.py progress: stop excessive clearing (issue4801) 2016-05-06 17:53:06 -05:00
pushkey.py pushkey: use absolute_import 2015-08-08 19:57:27 -07:00
pvec.py pvec: use absolute_import 2015-12-21 21:32:58 -08:00
py3kcompat.py py3compat: use absolute_import 2015-12-21 21:31:57 -08:00
pycompat.py pycompat: extract function that converts attribute or encoding name to str 2016-09-28 22:32:09 +09:00
registrar.py revset: add 'takeorder' attribute to mark functions that need ordering flag 2016-08-07 17:58:50 +09:00
repair.py repair: open a file with checkambig=True to avoid file stat ambiguity 2016-09-22 21:52:00 +09:00
repoview.py cleanup: replace uses of util.(md5|sha1|sha256|sha512) with hashlib.\1 2016-06-10 00:12:33 -04:00
revlog.py revlog: document high frequency of code execution 2016-08-24 20:18:58 -07:00
revset.py revset: define _symletters in terms of _syminitletters 2016-10-07 08:09:23 -04:00
scmposix.py scmposix: use absolute_import 2015-12-21 21:24:49 -08:00
scmutil.py vfs: use checkambigatclosing in checkambig=True but atomictemp=False case 2016-09-22 21:51:57 +09:00
scmwindows.py py3: conditionalize _winreg import 2016-08-10 04:35:44 +05:30
setdiscovery.py setdiscovery: use iterbatch interface instead of batch 2016-03-01 17:44:41 -05:00
similar.py cleanup: replace uses of util.(md5|sha1|sha256|sha512) with hashlib.\1 2016-06-10 00:12:33 -04:00
simplemerge.py simplemerge: move conflict warning message to filemerge 2015-10-09 13:54:52 -07:00
sshpeer.py i18n: translate abort messages 2016-06-14 11:53:55 +02:00
sshserver.py wireproto: rename argument to groupchunks() 2016-09-25 12:20:31 -07:00
sslutil.py sslutil: work around SSLContext.get_ca_certs bug on Windows (issue5313) 2016-07-25 12:00:55 -07:00
statichttprepo.py statichttprepo: do not try to write caches 2016-08-05 15:48:09 +02:00
store.py store: use hashlib.sha1 directly instead of through util 2016-06-10 00:10:06 -04:00
streamclone.py streamclone: clear caches after writing changes into files for visibility 2016-09-12 03:06:29 +09:00
strutil.py strutil: use absolute_import 2015-08-08 20:01:40 -07:00
subrepo.py error: make hintable exceptions reject unknown keyword arguments (API) 2016-07-11 21:40:02 +09:00
tagmerge.py tagmerge: use absolute_import 2015-08-08 20:10:46 -07:00
tags.py tags: silence hgtagsfnodes reading failures 2016-04-28 15:40:43 -05:00
templatefilters.py pycompat: switch to util.urlreq/util.urlerr for py3 compat 2016-04-06 23:22:12 +00:00
templatekw.py templatekw: fix join format of parents keyword (issue5292) 2016-07-22 22:12:12 +09:00
templater.py templater: use "needle" and "haystack" as (meta-)variables for ifcontains() 2016-10-01 09:55:32 +08:00
transaction.py transaction: open a file with checkambig=True to avoid file stat ambiguity 2016-09-22 21:52:00 +09:00
treediscovery.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
ui.py samplehgrcs: use single quotes in use warning 2016-09-20 23:49:00 +00:00
unionrepo.py unionrepo: properly handle hidden linkrev in revlog (issue5070) 2016-02-22 23:36:04 +01:00
url.py url: avoid re-issuing incorrect password (issue3210) 2016-07-29 12:46:07 +01:00
util.h internals: move the bitmanipulation routines into its own file 2016-06-06 13:08:13 +02:00
util.py util: use string.hexdigits instead of defining it ourselves 2016-10-07 08:58:23 -04:00
verify.py verify: specify unit for ui.progress when checking files 2016-03-11 20:18:41 +08:00
win32.py win32: use absolute_import 2015-08-08 18:52:59 -07:00
windows.py chgserver: extract utility to bind unix domain socket to long path 2016-05-21 16:52:04 +09:00
wireproto.py wireproto: rename argument to groupchunks() 2016-09-25 12:20:31 -07:00
worker.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00