changeset 39893:f6874567a93b

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
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 26 Sep 2018 22:17:26 -0700
parents b55747ca518f
children d739f423bf06
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Sep 27 22:07:12 2018 -0400
+++ b/mercurial/commands.py	Wed Sep 26 22:17:26 2018 -0700
@@ -1224,7 +1224,7 @@
                                 "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):