Mercurial > hg
diff hgext/narrow/narrowcommands.py @ 36456:9ff5cbfbc26a
py3: fix more keyword arguments handling
Differential Revision: https://phab.mercurial-scm.org/D2476
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 27 Feb 2018 14:41:24 +0530 |
parents | 5dbeddbf164a |
children | 3f0af89e008d |
line wrap: on
line diff
--- a/hgext/narrow/narrowcommands.py Tue Feb 27 14:28:17 2018 +0530 +++ b/hgext/narrow/narrowcommands.py Tue Feb 27 14:41:24 2018 +0530 @@ -122,8 +122,8 @@ def pullbundle2extraprepare_widen(orig, pullop, kwargs): orig(pullop, kwargs) - if opts.get('depth'): - kwargs['depth'] = opts['depth'] + if opts.get(r'depth'): + kwargs['depth'] = opts[r'depth'] wrappedextraprepare = extensions.wrappedfunction(exchange, '_pullbundle2extraprepare', pullbundle2extraprepare_widen)