Skip to content
Snippets Groups Projects
Commit 1d70fb83 authored by Sushil Khanchi's avatar Sushil Khanchi :koala:
Browse files

hg: let extensions call the func without populating opts keys

This change is to help extensions by not forcing them to populate with
opts[b'bundle'] and opts[b'force'] when calling hg.incoming(...)

Differential Revision: https://phab.mercurial-scm.org/D11619
parent 08c8cd25
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment