sapling/mercurial
Pierre-Yves David 53ffee95a2 bundle2: capture remote stdout while unbundling
When a reply is built, the bundle processing will capture the output of each
handler and sends it to the client in a dedicated part.

As a side effect, this add a "remote: " prefix to destination output on local
push. This is considered okay for now as:

1. bundle2 is still experimental,
2. Matt said he could be okay to change output for bundle2,
3. This keeps the implementation simple.

This changeset does it for stdout only. stderr will be done in a future changeset.
2014-04-16 14:22:24 -04:00
..
help cat: support cat with explicit paths in subrepos 2014-03-14 21:32:05 -04:00
hgweb hgweb: show revisions and hashes gotten from changelog in "comparison" page 2014-04-17 09:36:09 +09:00
httpclient httpclient: apply upstream revision da7579b034a4 to fix SSL problems (issue4038) 2013-09-18 14:45:28 -04:00
pure pack_dirstate: only invalidate mtime for files written in the last second 2013-08-17 20:48:49 -07:00
templates hgweb: align entries in "changelog" and "revisions" pages of "spartan" style 2014-04-17 09:36:09 +09:00
__init__.py
ancestor.py ancestors: extract candidates function as commonancestorsheads 2014-04-17 19:49:56 +02:00
archival.py archive: raise error.Abort if the file pattern matches no files 2013-03-21 22:09:15 +01:00
base85.c base85: cast Py_ssize_t values to int (issue3481) 2012-06-04 16:59:34 +02:00
bdiff.c bdiff: avoid a memory error on malloc failure 2013-10-30 16:03:42 -05:00
bookmarks.py push: move bookmarks exchange in the exchange module 2014-01-30 17:46:51 -08:00
branchmap.py branchmap: log events related to branch cache 2014-03-22 17:14:37 -07:00
bundle2.py bundle2: capture remote stdout while unbundling 2014-04-16 14:22:24 -04:00
bundlerepo.py bundle2: add a ui argument to readbundle 2014-04-14 15:45:30 -04:00
byterange.py byterange: remove now-unused sys import 2013-02-09 07:44:22 -06:00
changegroup.py bundle2: move readbundle into the exchange module 2014-04-14 15:33:50 -04:00
changelog.py branchmap: cache open/closed branch head information 2013-09-16 01:08:29 -07:00
cmdutil.py log: changed implementation to use graphlog code 2014-02-28 15:10:56 -08:00
commands.py log: changed implementation to use graphlog code 2014-02-28 15:10:56 -08:00
commandserver.py cmdserver: allow to start server without repository 2014-03-03 23:21:24 +09:00
config.py config: don't set source when no source is specified - don't overwrite with '' 2014-03-19 02:45:14 +01:00
context.py context: tell when .ancestor picks one of multiple common ancestors heads 2014-04-17 17:32:04 +02:00
copies.py copies: guard debug section with ui.debugflag 2014-02-25 20:31:53 +01:00
dagparser.py en-us: labeled 2012-08-17 13:58:18 -07:00
dagutil.py discovery: enforce filtering into revlogbaseddag._internalizeall 2013-11-15 23:27:39 -05:00
demandimport.py demandimport: make it possible to disable by setting HGDEMANDIMPORT=disable 2014-04-08 01:35:13 +02:00
dicthelpers.py dicthelpers.diff: compare against default for missing values 2013-04-10 12:31:07 -07:00
diffhelpers.c diffhelpers: use Py_ssize_t in testhunk() 2012-05-12 14:00:51 +02:00
dirs.c dirs: use mutable strings internally 2013-04-10 15:08:28 -07:00
dirstate.py dirstate: report bad subdirectories as match.bad, not just a warning (BC) 2013-10-03 18:01:21 +02:00
discovery.py discovery: make "note: unsynced remote changes!" less serious than a warning 2014-02-07 17:24:12 +01:00
dispatch.py dispatch: only do __import__(debugger) when a debugger is requested 2014-03-07 14:06:52 -05:00
encoding.py tests: stabilize doctest output 2013-01-15 02:59:14 +01:00
error.py hgweb: show correct error message for i18n environment 2013-02-15 18:07:14 +09:00
exchange.py bundle2: introduce replycaps part for on-demand reply 2014-04-16 14:09:35 -04:00
exewrapper.c exewrapper: adapt for legacy HackableMercurial 2012-08-07 11:04:41 +02:00
extensions.py extensions: use normpath to allow trailing '\' on Windows (issue4187) 2014-03-05 09:31:05 +00:00
fancyopts.py cleanup: move stdlib imports to their own import statement 2013-11-06 16:48:06 -05:00
filelog.py filelog: use super() for calling base functions 2013-05-01 10:39:37 -07:00
filemerge.py filemerge: better handling of failing remove of temporary files 2014-04-17 14:54:46 +02:00
fileset.py merge with stable 2014-01-01 18:28:40 -05:00
formatter.py formatter: add condwrite method 2012-11-03 14:37:50 -05:00
graphmod.py graphmod: changed code in dagwalker to use lazy implementations 2014-03-14 08:46:46 -07:00
hbisect.py bisect: report "both good and bad" as such, not as "not directly related" 2013-11-10 18:51:21 +01:00
help.py help: allow -k to find debug commands 2014-03-22 14:46:55 -05:00
hg.py outgoing: introduce "outgoinghooks" to avoid redundant outgoing check 2014-04-16 00:37:24 +09:00
hook.py hooks: only disable/re-enable demandimport when it's already enabled 2014-02-10 14:51:06 -08:00
httpconnection.py httpconnection: properly inject ssl_wrap_socket into httpclient (issue4038) 2013-09-20 09:16:07 -04:00
httppeer.py httppeer: support for _calltwowaystream 2014-04-15 17:53:52 -04:00
i18n.py
ignore.py ignore: process hgignore files in deterministic order 2012-12-17 15:57:02 -08:00
keepalive.py check-code: check for spaces around = for named parameters 2013-10-03 14:50:47 +02:00
localrepo.py localrepo: use commonancestorsheads for checking linear heritage in file commit 2014-04-17 20:01:39 +02:00
lock.py localrepo: give a sigh of relief when getting lock after waiting for it 2014-02-06 01:55:09 +01:00
lsprof.py profiling: replace '+' markup of nested lines with indentation 2013-02-08 22:54:48 +01:00
lsprofcalltree.py
mail.py python2.4: fix imports of sub-packages of the email package 2013-09-24 15:10:32 -04:00
manifest.py manifest: increase lrucache from 3 to 4 2013-11-11 16:35:12 -08:00
match.py match: _globre doctests 2014-04-13 22:00:08 +02:00
mdiff.py cleanup: move stdlib imports to their own import statement 2013-11-06 16:48:06 -05:00
merge.py merge: with merge.preferancestor=*, run an auction with bids from ancestors 2014-02-28 02:52:32 +01:00
minirst.py minirst: move from dict() construction to {} literals 2014-03-12 13:20:24 -04:00
mpatch.c mpatch: rewrite pointer overflow checks 2013-12-11 18:33:42 -06:00
node.py
obsolete.py obsolete: add '%' specifier to the format string to avoid TypeError at runtime 2014-04-16 03:05:00 +09:00
osutil.c osutil: tab damage, how i hate thee 2012-12-03 13:17:01 -08:00
parser.py parser: allow passing a lookup function to a tokenizer 2014-03-18 17:17:23 -05:00
parsers.c parsers: remove unnecessary gca variable in index_commonancestorsheads 2014-04-17 19:58:08 +02:00
patch.py diff: use second filename for --stat reporting on git patches (issue4221) 2014-04-11 16:38:55 -04:00
pathencode.c pathencode: eliminate signed integer warnings 2014-02-19 13:11:24 -08:00
pathutil.py pathutil: tease out a new library to break an import cycle from canonpath use 2013-11-06 18:19:04 -05:00
peer.py peer: delete double definition of method peer 2012-07-28 22:36:22 +02:00
phases.py phases: make order of debug output 'removing unknown node' deterministic 2014-02-20 02:43:17 +01:00
posix.py util: remove unused realpath (issue4063) 2013-12-29 13:54:04 +00:00
pushkey.py pushkey: do not exchange obsole markers if feature is disabled 2012-07-28 13:33:06 +02:00
pvec.py pvec: use the correct name for an identifier 2013-04-12 17:20:09 -07:00
py3kcompat.py spelling: relies 2012-08-17 13:58:18 -07:00
repair.py bundle2: add a ui argument to readbundle 2014-04-14 15:45:30 -04:00
repoview.py repoview: drop duplicated lookup 2014-04-13 16:39:31 -04:00
revlog.py revlog: backout 1c95c1863327 - commonancestors 2014-04-17 20:01:39 +02:00
revset.py spelling: fixes from spell checker 2014-04-13 19:01:00 +02:00
scmposix.py scmutil: split platform-specific bits into their own modules 2013-02-12 11:36:21 -06:00
scmutil.py vfs: add "mkstemp()" 2014-03-09 01:03:28 +09:00
scmwindows.py scmutil: fix NameError on windows 2013-02-21 13:16:02 -06:00
setdiscovery.py setdiscovery: document algorithms used 2014-03-06 12:37:28 +01:00
similar.py cleanup: eradicate long lines 2012-05-12 15:54:54 +02:00
simplemerge.py cleanup: "raise SomeException()" -> "raise SomeException" 2012-05-12 16:00:58 +02:00
sshpeer.py sshpeer: add implementation of _calltwowaystream 2014-04-15 17:18:35 -04:00
sshserver.py localrepo: move the addchangegroup method in changegroup module 2014-04-01 15:27:53 -07:00
sslutil.py sslutil: backed out changeset 2cb59fd7ebb6 (issue4038) 2013-09-18 14:40:17 -04:00
statichttprepo.py statichttp: respect localrepo _restrictcapabilities 2014-04-07 11:45:50 -07:00
store.py store: drop unused existing list 2014-04-03 12:59:12 -05:00
strutil.py
subrepo.py cat: support cat with explicit paths in subrepos 2014-03-14 21:32:05 -04:00
tags.py tags: log events related to tags cache 2014-04-14 11:50:05 -07:00
templatefilters.py merge with stable 2013-10-09 14:15:34 -07:00
templatekw.py templatekw: move from dict() construction to {} literals 2014-03-12 13:20:42 -04:00
templater.py templater: raise error for unknown func 2014-03-27 17:21:27 -05:00
transaction.py transaction: drop extra import caught by pyflakes 2014-04-02 13:41:23 -05:00
treediscovery.py discovery: stop using nodemap for membership testing 2013-11-15 23:28:43 -05:00
ui.py config: give a useful hint of source for the most common command line settings 2014-03-19 02:45:04 +01:00
unionrepo.py config: set a 'source' in most cases where config don't come from file but code 2014-03-19 02:45:14 +01:00
url.py http: reuse authentication info after the first failed request (issue3567) 2013-12-20 14:56:05 +01:00
util.h util.h: backout cb07828e14e0 and 7d902369e960 for big-endian breakage 2013-09-30 12:36:26 -07:00
util.py util: enable "hooks" to return list of the values returned from each hooks 2014-04-16 00:37:24 +09:00
verify.py verify: do not prevent verify repository containing hidden changesets 2014-02-19 22:19:45 +09:00
win32.py win32: spawndetached returns pid of detached process and not of cmd.exe 2014-02-08 14:35:07 +01:00
windows.py util: remove unused realpath (issue4063) 2013-12-29 13:54:04 +00:00
wireproto.py wireproto: add a _calltwowaystream method on wirepeer 2014-04-15 17:19:46 -04:00
worker.py cleanup: move stdlib imports to their own import statement 2013-11-06 16:48:06 -05:00