Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hg.py @ 48185:1d70fb83ff4a
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
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Wed, 06 Oct 2021 13:32:07 +0530 |
parents | 5ced12cfa41b |
children | 607e9322fc89 |
line wrap: on
line diff
--- 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: