hgext/share.py
changeset 43506 9f70512ae2cf
parent 43270 6a8c166a93a6
child 44979 2fd8a8c11273
equal deleted inserted replaced
43505:47fac1692ede 43506:9f70512ae2cf
   120 def clone(orig, ui, source, *args, **opts):
   120 def clone(orig, ui, source, *args, **opts):
   121     pool = ui.config(b'share', b'pool')
   121     pool = ui.config(b'share', b'pool')
   122     if pool:
   122     if pool:
   123         pool = util.expandpath(pool)
   123         pool = util.expandpath(pool)
   124 
   124 
   125     opts[r'shareopts'] = {
   125     opts['shareopts'] = {
   126         b'pool': pool,
   126         b'pool': pool,
   127         b'mode': ui.config(b'share', b'poolnaming'),
   127         b'mode': ui.config(b'share', b'poolnaming'),
   128     }
   128     }
   129 
   129 
   130     return orig(ui, source, *args, **opts)
   130     return orig(ui, source, *args, **opts)