Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 76:b72672ca2de9
FIX: Indentation
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Fri, 23 Feb 2018 00:05:53 +0100 |
| parents | 8e77ed36c333 |
| children | 190c68954476 |
| files | extensions/kwarchive.py |
| diffstat | 1 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/kwarchive.py Thu Feb 22 23:46:32 2018 +0100 +++ b/extensions/kwarchive.py Fri Feb 23 00:05:53 2018 +0100 @@ -60,14 +60,13 @@ @command('kwarchive', [('', 'no-decode', None, _('do not pass files through decoders')), - ('p', 'prefix', '', _('directory prefix for files in archive'), - _('PREFIX')), - ('r', 'rev', '', _('revision to distribute'), _('REV')), - ('t', 'type', '', _('type of distribution to create'), _('TYPE')), - ('', 'path', 'default', _('the canonical repository to use'), _('PATH')), - ('', "kwconfig", '', _('an alternate pattern configuration configuration file'), _('PATTERNCONFIG')), - ('', "no-shorten-path", None, _("don't shorten the path urls")), - ('', "user-filter", "user", _("the part of the user to be printed"), _("USERFILTER")), + ('p', 'prefix', '', _('directory prefix for files in archive'), _('PREFIX')), + ('r', 'rev', '', _('revision to distribute'), _('REV')), + ('t', 'type', '', _('type of distribution to create'), _('TYPE')), + ('', 'path', 'default', _('the canonical repository to use'), _('PATH')), + ('', "kwconfig", '', _('an alternate pattern configuration configuration file'), _('PATTERNCONFIG')), + ('', "no-shorten-path", None, _("don't shorten the path urls")), + ('', "user-filter", "user", _("the part of the user to be printed"), _("USERFILTER")), ] + cmdutil.subrepoopts + cmdutil.walkopts, _('[OPTION]... DEST')) def kwarchive(ui, repo, dest, **opts): @@ -182,7 +181,7 @@ [('r', 'rev', '', _('revision to distribute'), _('REV')), ('', 'path', 'default', _('the canonical repository to use'), _('PATH')), ('', "no-shorten-path", None, _("don't shorten the path urls")), - ('', "user-filter", "user", _("the part of the user to be printed"), _("USERFILTER")), + ('', "user-filter", "user", _("the part of the user to be printed"), _("USERFILTER")), ] + cmdutil.subrepoopts + cmdutil.walkopts, _('[OPTION]...')) def kwprint(ui, repo, **opts):
