diff -r 194b0f781132 -r 04baab18d60a hgext/fetch.py --- a/hgext/fetch.py Sat Aug 13 12:29:53 2016 +0900 +++ b/hgext/fetch.py Sun May 14 16:19:47 2017 +0900 @@ -15,7 +15,6 @@ ) from mercurial import ( cmdutil, - commands, error, exchange, hg, @@ -39,7 +38,7 @@ ('e', 'edit', None, _('invoke editor on commit messages')), ('', 'force-editor', None, _('edit commit message (DEPRECATED)')), ('', 'switch-parent', None, _('switch parents when merging')), - ] + commands.commitopts + commands.commitopts2 + commands.remoteopts, + ] + cmdutil.commitopts + cmdutil.commitopts2 + cmdutil.remoteopts, _('hg fetch [SOURCE]')) def fetch(ui, repo, source='default', **opts): '''pull changes from a remote repository, merge new changes if needed.