hgext/fetch.py
changeset 32375 04baab18d60a
parent 32337 46ba2cdda476
child 33013 9c242e9fca65
--- 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.