sapling/mercurial
Jun Wu 7f24d247cc dispatch: extract common logic for handling ParseError
The way ParseError is handled at two different places in dispatch.py is the
same. Move common logic into _formatparse.
2016-03-14 12:32:09 +00: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 doc: correct example concerning "hg purge" alias in man page "hgrc.5" 2016-02-20 17:32:26 +01:00
hgweb spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
httpclient httpclient: update to 938f2107d6e2 of httpplus 2015-12-31 13:19:20 -05:00
pure bdiff: (pure) support array.array arrays (issue5130) 2016-03-08 17:26:12 +00:00
templates hgweb: update canvas.width before dynamically redrawing graph (issue2683) 2016-01-23 17:31:31 +08:00
__init__.py mercurial: use pure Python module policy on Python 3 2016-03-12 13:19:19 -08:00
ancestor.py ancestor: use absolute_import 2015-08-07 19:45:48 -07:00
archival.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
base85.c base85: fix comparison of an int and a long 2015-08-21 14:29:42 -04:00
bdiff.c bdiff: avoid a memory error on malloc failure 2013-10-30 16:03:42 -05:00
bookmarks.py with: use context manager for wlock in _writeactive 2016-01-15 13:14:45 -08:00
branchmap.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
bundle2.py changegroup: fix pulling to treemanifest repo from flat repo (issue5066) 2016-01-27 09:07:28 -08:00
bundlerepo.py bundlerepo: properly handle hidden linkrev in manifestlog (issue4945) 2016-02-22 23:34:54 +01:00
byterange.py byterange: use absolute_import 2015-12-21 21:42:14 -08:00
changegroup.py changegroup: fix pulling to treemanifest repo from flat repo (issue5066) 2016-01-27 09:07:28 -08:00
changelog.py changelog: avoid slicing raw data until needed 2016-03-06 15:40:20 -08:00
cmdutil.py serve: accept multiple values for --daemon-postexec 2016-03-09 02:07:40 +00:00
commands.py commands: add postincoming docstring for explanation of arguments 2016-03-12 04:35:42 +09:00
commandserver.py cmdserver: write early exception to 'e' channel in 'unix' mode 2016-03-12 22:03:30 +09:00
config.py config: add hasconfig method and supporting plumbing 2016-01-07 19:45:03 -08:00
context.py context: use changelogrevision 2016-03-06 13:26:37 -08:00
copies.py copies: fix detection of divergent directory renames 2016-01-13 10:10:05 -06:00
crecord.py crecord: fix help bar display issue (issue5063) 2016-01-25 11:37:02 -08: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 _imp to ignore list 2016-02-25 22:35:11 -08:00
destutil.py destutil: choose non-closed branch head at first (BC) 2016-03-07 03:14:19 +09: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: add a way to get the ignore file/line matching an ignored file 2016-01-05 07:52:04 -08:00
discovery.py bookmarks: don't allow pushing new head for existing mark with -B (issue4400) 2015-10-21 16:21:27 -05:00
dispatch.py dispatch: extract common logic for handling ParseError 2016-03-14 12:32:09 +00: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 encoding: use range() instead of xrange() 2016-03-11 21:27:26 -08:00
error.py error: make InterventionRequired take a hint 2015-12-23 08:52:52 +00:00
exchange.py pushoperation: fix language issues in docstring 2016-03-10 17:31:38 -06:00
exewrapper.c exewrapper: add comments about PYTHONHOME 2015-10-14 12:23:49 +02:00
extensions.py extensions: factor import error reporting out 2016-03-11 10:28:58 +00:00
fancyopts.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
filelog.py filelog: use absolute_import 2015-08-08 19:11:42 -07:00
filemerge.py origpath: move from cmdutil to scmutil 2016-01-02 03:02:57 -08:00
fileset.py fileset: replace predicate by filesetpredicate of registrar (API) 2016-03-11 04:14:54 +09:00
formatter.py formatter: make labels work with templated output 2016-03-08 04:08:33 -08:00
graphmod.py graphmod: augment the graph to include more information about the edges 2016-03-04 14:44:32 +00:00
hbisect.py with: use context manager in bisect save_state 2016-01-15 13:14:49 -08:00
help.py internals: document revlog format 2015-12-30 16:21:57 -07:00
hg.py hg: acquire wlock while updating the working directory via updatetotally 2016-03-12 04:35:42 +09:00
hook.py dirstate: don't write repo.currenttransaction to repo.dirstate if repo 2015-12-03 01:38:21 +01:00
httpconnection.py httpconnection: remove a mutable default argument 2015-09-24 00:54:30 -07:00
httppeer.py httppeer: compute header names only once 2016-03-11 11:51:22 -05:00
i18n.py i18n: use absolute_import 2015-08-08 19:28:49 -07:00
keepalive.py keepalive: use print function 2015-06-21 23:14:54 -07:00
localrepo.py localrepo: don't reference transaction from hook closure (issue5043) 2016-01-17 14:14:15 -08:00
lock.py lock: turn a lock into a Python context manager 2016-01-15 13:14:45 -08: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: use print function 2016-01-02 11:47:07 -08:00
manifest.c lazymanifest: check more return values in filtercopy 2015-12-31 13:31:42 -05:00
manifest.py treemanifest: rework lazy-copying code (issue4840) 2015-09-25 22:54:46 -04:00
match.py spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
mdiff.py mdiff: don't emit a diff header for empty trivial deltas 2016-01-11 22:00:07 -05:00
merge.py merge: don't try to merge subrepos twice (issue4988) 2016-01-29 14:19:29 -08:00
minirst.py minirst: change hgrole to use single quotes 2016-01-12 06:03:36 +00:00
mpatch.c mpatch: rewrite pointer overflow checks 2013-12-11 18:33:42 -06:00
namespaces.py namespaces: use absolute_import 2015-08-08 19:42:58 -07:00
node.py node: add 'nullhex', hex-encoded nullid 2015-11-16 11:23:32 -08:00
obsolete.py obsolete: fix n^2 marker computation behavior 2016-02-04 15:38:04 -08:00
osutil.c osutil: disable compilation of recvfds() on unsupported platforms 2016-02-02 20:56:48 +09:00
parser.py parser: move unescape helper from templater 2015-09-10 23:25:10 +09:00
parsers.c parsers: optimize filtered headrevs logic 2016-03-08 00:20:08 -08:00
patch.py diff: don't crash when merged-in addition is copied 2016-01-14 10:22:55 -08:00
pathencode.c pathencode: check result of .digest() method in sha1hash 2015-08-18 16:32:41 -04:00
pathutil.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
peer.py peer: add an iterbatcher interface 2016-03-01 18:39:25 -05:00
phases.py with: use context manager for transaction in pushphase 2016-01-15 13:14:49 -08:00
posix.py posix: fix test-permissions regression 2015-11-09 15:53:11 -06:00
progress.py spelling: trivial spell checking 2015-10-17 00:58:46 +02: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
registrar.py registrar: add filesetpredicate to mark a function as fileset predicate 2016-03-11 04:14:54 +09:00
repair.py repair: specify unit for ui.progress in rebuildfncache() 2016-03-11 20:44:40 +08:00
repoview.py repoview: fix corrupted hiddencache crash Mercurial (issue5042) 2016-01-20 13:43:01 -08:00
revlog.py revlog: fix bad indentation (replace tab by space) 2015-12-18 20:54:41 -08:00
revset.py revset: remove useless extpredicate class (API) 2016-03-11 04:14:54 +09:00
scmposix.py scmposix: use absolute_import 2015-12-21 21:24:49 -08:00
scmutil.py scmutil: support background file closing 2016-01-14 13:34:59 -08:00
scmwindows.py windows: read all global config files, not just the first (issue4491) (BC) 2015-10-12 20:13:12 +02:00
setdiscovery.py setdiscovery: use iterbatch interface instead of batch 2016-03-01 17:44:41 -05:00
similar.py similar: specify unit for ui.progress when operating on files 2016-03-11 22:29:20 +08:00
simplemerge.py simplemerge: move conflict warning message to filemerge 2015-10-09 13:54:52 -07:00
sshpeer.py wireproto: make iterbatcher behave streamily over http(s) 2016-03-01 18:41:43 -05:00
sshserver.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
sslutil.py sslutil: fix reversed logic (issue5034) 2016-01-08 16:27:25 +01:00
statichttprepo.py statichttprepo: implement __enter__ and __exit__ on httprangeheader 2016-01-02 15:33:01 -08:00
store.py l10n: use %d instead of %s for numbers 2015-10-14 22:29:03 -04:00
streamclone.py streamclone: specify unit for ui.progress when handling data 2016-03-11 22:28:27 +08:00
strutil.py strutil: use absolute_import 2015-08-08 20:01:40 -07:00
subrepo.py subrepo: better error messages in _ensuregit 2016-01-17 22:53:57 -05:00
tagmerge.py tagmerge: use absolute_import 2015-08-08 20:10:46 -07:00
tags.py tags: create new sortdict for performance reasons 2015-11-12 13:16:04 -08:00
templatefilters.py templatefilters: try round-trip utf-8 conversion by json filter (issue4933) 2015-11-04 23:48:15 +09:00
templatekw.py templatekw: add {namespaces} keyword 2016-01-12 23:56:48 +09:00
templater.py templater: make label() just fail if ui object isn't available 2016-03-09 23:59:26 +09:00
transaction.py transaction: abort transaction during hook exception 2016-01-19 15:18:21 -08:00
treediscovery.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
ui.py ui: fix crash by non-interactive prompt echo for user name 2016-02-06 20:43:20 +09:00
unionrepo.py unionrepo: properly handle hidden linkrev in revlog (issue5070) 2016-02-22 23:36:04 +01:00
url.py url: drop support for python2.5 2015-10-15 17:21:08 -04:00
util.h util: fix the check for non-C99 compilers (issue4605) 2015-04-20 22:21:57 -05:00
util.py util: refactor getstackframes 2016-03-11 17:22:04 +00: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 windows: insert file positioning call between reads and writes 2015-09-27 18:46:53 -07:00
wireproto.py wireproto: make iterbatcher behave streamily over http(s) 2016-03-01 18:41:43 -05:00
worker.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00