--- a/hgext/share.py Thu Jun 22 03:22:30 2017 +0530 +++ b/hgext/share.py Thu Jun 22 03:24:12 2017 +0530 @@ -132,7 +132,7 @@ if pool: pool = util.expandpath(pool) - opts['shareopts'] = dict( + opts[r'shareopts'] = dict( pool=pool, mode=ui.config('share', 'poolnaming', 'identity'), )