mercurial/hg.py
changeset 48173 1d70fb83ff4a
parent 48116 5ced12cfa41b
child 48240 607e9322fc89
--- a/mercurial/hg.py	Tue Oct 05 16:09:20 2021 +0100
+++ b/mercurial/hg.py	Wed Oct 06 13:32:07 2021 +0530
@@ -1285,7 +1285,7 @@
         if revs:
             revs = [other.lookup(rev) for rev in revs]
         other, chlist, cleanupfn = bundlerepo.getremotechanges(
-            ui, repo, other, revs, opts[b"bundle"], opts[b"force"]
+            ui, repo, other, revs, opts.get(b"bundle"), opts.get(b"force")
         )
 
         if not chlist: