Mercurial > hg
changeset 48173: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 | 08c8cd2527bc |
children | 9ecf802b06e0 |
files | mercurial/hg.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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: