equal
deleted
inserted
replaced
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) |