D4779: bundle: consistently put revnums in "base" collection

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Sep 28 08:03:02 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG84a44ed337c2: bundle: consistently put revnums in "base" collection (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4779?vs=11451&id=11464

REVISION DETAIL
  https://phab.mercurial-scm.org/D4779

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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):



To: martinvonz, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list