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
--- 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):