diff --git a/hgext/share.py b/hgext/share.py --- a/hgext/share.py +++ b/hgext/share.py @@ -132,10 +132,10 @@ def clone(orig, ui, source, *args, **opt if pool: pool = util.expandpath(pool) - opts[r'shareopts'] = dict( - pool=pool, - mode=ui.config('share', 'poolnaming', 'identity'), - ) + opts[r'shareopts'] = { + 'pool': pool, + 'mode': ui.config('share', 'poolnaming', 'identity'), + } return orig(ui, source, *args, **opts)