sapling/mercurial
Pierre-Yves David d83ef60585 subrepo: detect issue3781 case earlier so it apply to bundle2
We are doing some strange special casing of phase push when:

- the source is a subrepo
- the destination is publishing
- some changeset are still draft on the destination

In that case we do not push phases information (to publish the draft changesets)
because it could break simple cycle of 'clone/pull/push' of subrepos. We have to
detect this case earlier to have bundle2 respecting it.

We change the test to check the behavior for both bundle1 and bundle2.
2015-05-27 06:08:14 -07:00
..
default.d merge-tools: configuration for Beyond Compare on OS X 2015-02-27 21:42:58 +01:00
help help: add documentation on include: and subinclude: 2015-05-20 14:54:09 -07:00
hgweb hgweb: remove an extra call to nodebranchnodefault() in changesetentry() 2015-05-26 22:58:30 +08:00
httpclient style: kill ersatz if-else ternary operators 2015-03-13 17:00:06 -04:00
pure parsers: remove unused dependency on util 2015-04-06 13:59:36 -07:00
templates hgweb: descend empty directories in monoblue 2015-05-21 19:52:36 +08:00
__init__.py
ancestor.py util: drop alias for collections.deque 2015-05-16 11:28:04 -07:00
archival.py cleanup: use __builtins__.any instead of util.any 2015-05-16 14:30:07 -04: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 bookmarks: rename current to active in variables and comments 2015-04-14 12:53:48 -07:00
branchmap.py revbranchcache: return uncached branchinfo for nullrev (issue4683) 2015-05-23 11:14:00 +09:00
bundle2.py bundle2: hide bundle2 stream debug under a config flag 2015-05-26 23:06:17 -07:00
bundlerepo.py bundlerepo: remove unused 'repo' parameter 2015-05-03 14:18:32 -07:00
byterange.py style: kill ersatz if-else ternary operators 2015-03-13 17:00:06 -04:00
changegroup.py changegroup: drop _changelog and _manifest properties 2015-04-30 16:45:03 -07:00
changelog.py changelog: drop unnecessary override of "hasnode" 2015-05-10 11:39:01 -05:00
cmdutil.py record: add an operation arguments to customize recording ui 2015-05-27 15:49:24 -07:00
commands.py commit: improve --close-branch documentation 2015-05-27 17:28:55 -05:00
commandserver.py cmdserver: protect pipe server streams against corruption caused by direct io 2014-11-15 13:50:43 +09:00
config.py config: give it an includepaths option for looking for config files 2015-05-15 09:04:32 -04:00
context.py patch: add 'extra' argument to makememctx 2015-05-22 13:06:45 -07:00
copies.py merge with stable 2015-05-26 14:52:47 -05:00
crecord.py record: add an operation arguments to customize recording ui 2015-05-27 15:49:24 -07:00
dagparser.py dagparser: use 'next' instead of try/except for default value 2015-05-18 12:22:44 -05:00
dagutil.py style: kill ersatz if-else ternary operators 2015-03-13 17:00:06 -04:00
demandimport.py demandimport: define a deactivated context manager 2015-05-28 16:11:26 -04: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: use match.prefix() instead of 'not match.anypats()' 2015-05-19 10:40:40 -07:00
discovery.py discovery: don't compute allfuturecommon when it won't be used 2015-04-13 09:54:36 -04:00
dispatch.py dispatch: disable demandimport for the --debugger option 2015-05-28 16:42:21 -04: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 util.h: define an enum for normcase specs 2015-04-02 19:17:32 -07:00
error.py error: refactor common hint-pattern into a common base class 2015-05-21 16:28:06 -04:00
exchange.py subrepo: detect issue3781 case earlier so it apply to bundle2 2015-05-27 06:08:14 -07:00
exewrapper.c exewrapper: adapt for legacy HackableMercurial 2012-08-07 11:04:41 +02:00
extensions.py extensions: clear aftercallbacks after execution (issue4646) 2015-05-06 09:52:10 -07:00
fancyopts.py fancyopts: restore use of callable() since it was readded in Python 3.2 2014-06-23 09:24:16 -04:00
filelog.py filelog: use censored revlog flag bit to quickly check if a node is censored 2015-01-12 15:29:36 -05:00
filemerge.py templater: remove noop calls of parsestring(s, quoted=False) (API) 2015-05-04 10:01:03 +09:00
fileset.py fileset: pretty print syntax tree in debug output 2015-04-26 22:26:44 +09:00
formatter.py formatter: convert None to json null 2014-09-17 22:34:34 +09:00
graphmod.py dagwalker: drop a useless intermediate variable 2014-10-08 02:43:51 -07:00
hbisect.py util: drop alias for collections.deque 2015-05-16 11:28:04 -07:00
help.py help: also hide options marked EXPERIMENTAL 2015-04-27 15:12:41 -07:00
hg.py bookmarks: rename setcurrent to activate (API) 2015-04-13 22:27:01 -07:00
hook.py hooks: replace if-try-finally with a "with" statement 2015-05-28 16:42:04 -04:00
httpconnection.py httpconnection: drop Python 2.4 specify hack 2015-05-18 16:47:26 -05:00
httppeer.py httppeer: use try/except/finally 2015-05-15 09:57:02 -05:00
i18n.py i18n: cache the result of every gettext call 2014-10-17 13:52:10 -04:00
keepalive.py util: move md5 back next to sha1 and allow to call it without an argument 2014-09-24 16:00:47 +09:00
localrepo.py localrepo: pass hook argument txnid to pretxnopen hooks 2015-05-25 01:26:23 +09:00
lock.py lock: while releasing, unlink lockfile even if the release function throws 2014-10-16 19:15:51 -07:00
lsprof.py profiling: replace '+' markup of nested lines with indentation 2013-02-08 22:54:48 +01:00
lsprofcalltree.py
mail.py mail: drop explicit mail import required by Python 2.4 2015-05-18 16:46:32 -05:00
manifest.c lazymanifest: drop SP before some labels 2015-04-12 07:14:53 -07:00
manifest.py manifest: use match.prefix() instead of 'not match.anypats()' 2015-05-19 11:16:20 -07:00
match.py match: normpath the ignore source when expanding the 'subinclude' kind 2015-05-27 13:28:16 -04:00
mdiff.py mdiff: add helper for making deltas which replace the full text of a revision 2015-01-21 16:35:09 -05:00
merge.py cleanup: use __builtins__.all instead of util.all 2015-05-16 14:34:19 -04:00
minirst.py help: show all nested subsections of a section with hg help foo.section 2014-10-06 07:35:53 -04:00
mpatch.c mpatch: rewrite pointer overflow checks 2013-12-11 18:33:42 -06:00
namespaces.py spelling: fixes from proofreading of spell checker issues 2015-01-18 02:38:57 +01:00
node.py Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
obsolete.py util: drop the 'unpacker' helper 2015-05-18 23:43:36 -05:00
osutil.c osutil: mark end of string with null char, not 0 2015-03-25 16:21:58 -07:00
parser.py parser: add helper to reduce nesting of chained infix operations 2015-04-26 18:05:23 +09:00
parsers.c parsers: simplify the code computing the phases 2015-05-27 17:01:43 -07:00
patch.py record: add an operation arguments to customize recording ui 2015-05-27 15:49:24 -07:00
pathencode.c pathencode: eliminate signed integer warnings 2014-02-19 13:11:24 -08:00
pathutil.py pathutil: demote two local functions to just be forwards 2015-05-26 14:41:00 -04:00
peer.py peer: delete double definition of method peer 2012-07-28 22:36:22 +02:00
phases.py phases: add set per phase in C phase computation 2015-04-01 11:17:17 -07:00
posix.py util: add removedirs as platform depending function 2015-04-11 00:47:09 +09:00
pushkey.py obsolete: add exchange option 2014-10-14 13:26:01 -07:00
pvec.py pvec: replace 'ctx._repo' with 'ctx.repo()' 2015-03-12 23:18:20 -04:00
py3kcompat.py py3kcompat: drop unused export 2014-05-13 15:22:36 -05:00
repair.py repair: forbid strip from inside a transaction 2015-05-23 21:18:47 -07:00
repoview.py repoview: avoid processing the same rev twice in _getstatichidden 2015-04-03 14:41:18 -07:00
revlog.py util: drop alias for collections.deque 2015-05-16 11:28:04 -07:00
revset.py revset: reduce nesting of chained 'or' operations (issue4624) 2015-04-26 18:13:48 +09:00
scmposix.py config: don't read the same config file twice 2014-09-04 21:36:35 +02:00
scmutil.py match: resolve filesets in subrepos for commands given the '-S' argument 2015-05-16 00:36:35 -04:00
scmwindows.py config: don't read the same config file twice 2014-09-04 21:36:35 +02:00
setdiscovery.py cleanup: use __builtins__.all instead of util.all 2015-05-16 14:34:19 -04:00
similar.py cleanup: eradicate long lines 2012-05-12 15:54:54 +02:00
simplemerge.py simplemerge: remove dead code 2014-08-07 12:51:45 -04:00
sshpeer.py sshpeer: extract the forward output logic 2015-05-18 23:19:11 -05:00
sshserver.py changegroup: rename bundle-related functions and classes 2014-09-02 12:11:36 +02:00
sslutil.py ssl: resolve symlink before checking for Apple python executable (issue4588) 2015-04-04 14:56:18 +09:00
statichttprepo.py statichttprepo: remove wrong getattr ladder 2015-05-18 22:40:16 -04:00
store.py store: add comment in _hashencode with reason for skipping the first 5 chars 2015-05-13 20:36:56 +02:00
strutil.py Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
subrepo.py files: recurse into subrepos automatically with an explicit path 2015-05-17 22:42:47 -04:00
tagmerge.py filemerge: add internal:tagmerge merge tool 2014-06-26 01:20:25 +02:00
tags.py tags: use try/except/finally 2015-05-15 09:58:02 -05:00
templatefilters.py templatefilters: don't stringify None into "None" 2015-05-10 13:33:51 -04:00
templatekw.py templatekw: introduce activebookmark keyword 2015-04-15 08:12:04 -07:00
templater.py templater: look for mapfiles in template paths 2015-05-15 09:07:27 -04:00
transaction.py merge with stable 2015-05-27 17:41:42 -05:00
treediscovery.py util: drop alias for collections.deque 2015-05-16 11:28:04 -07:00
ui.py ui: disable revsetaliases in plain mode (BC) 2015-04-30 07:46:54 -07:00
unionrepo.py unionrepo: use pathutil.normasprefix to ensure os.sep at the end of cwd 2015-04-22 23:38:55 +09:00
url.py url: drop awful hack around bug in Python 2.4 2015-05-18 16:51:02 -05:00
util.h util: fix the check for non-C99 compilers (issue4605) 2015-04-20 22:21:57 -05:00
util.py util: allow to specify buffer size in popen4 2015-05-20 11:29:45 -05:00
verify.py verify: add a note about a paleo-bug 2015-03-27 15:13:21 -05:00
win32.py win32: add a method to fetch the available pipe data size 2015-04-07 22:30:25 -04:00
windows.py windows: drop Python2.4 specific hack for directory not found handling 2015-05-18 16:33:57 -05:00
wireproto.py wireproto: remove unused 'store' import 2015-05-21 11:34:40 -07:00
worker.py cleanup: avoid _ for local unused tmp variables - that is reserved for i18n 2014-08-15 16:20:47 +02:00