# HG changeset patch # User Martin von Zweigbergk # Date 2018-09-27 05:17:26 # Node ID f6874567a93bf3f007b874277e34979cf188cb9f # Parent b55747ca518fe202b704f8f89a55f5bd196b6b93 bundle: consistently put revnums in "base" collection The "base" collection contains revnums, except that it can also contain the "null" symbol. That's a little weird. Let's be consistent. Differential Revision: https://phab.mercurial-scm.org/D4779 diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1224,7 +1224,7 @@ def bundle(ui, repo, fname, dest=None, * "a destination")) if opts.get('base'): ui.warn(_("ignoring --base because --all was specified\n")) - base = ['null'] + base = [nullrev] else: base = scmutil.revrange(repo, opts.get('base')) if cgversion not in changegroup.supportedoutgoingversions(repo):