Mercurial > hg-stable
changeset 34498:308aa280ed82
configitems: register the 'share.poolnaming' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:44:18 +0200 |
parents | f9734580f2b6 |
children | b8f74c4d188f |
files | hgext/share.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/share.py Fri Jun 30 03:44:17 2017 +0200 +++ b/hgext/share.py Fri Jun 30 03:44:18 2017 +0200 @@ -69,6 +69,9 @@ configitem('share', 'pool', default=None, ) +configitem('share', 'poolnaming', + default='identity', +) @command('share', [('U', 'noupdate', None, _('do not create a working directory')), @@ -141,7 +144,7 @@ opts[r'shareopts'] = { 'pool': pool, - 'mode': ui.config('share', 'poolnaming', 'identity'), + 'mode': ui.config('share', 'poolnaming'), } return orig(ui, source, *args, **opts)