hgext3rd/evolve/evocommands.py
changeset 2768 85e5a56db776
parent 2766 83ad13719e26
child 2769 b96349ae3e2a
--- a/hgext3rd/evolve/evocommands.py	Sun Jul 23 16:39:21 2017 +0200
+++ b/hgext3rd/evolve/evocommands.py	Sun Jul 23 07:32:54 2017 +0200
@@ -316,7 +316,7 @@
     [('r', 'rev', [], _("revision to fold")),
      ('', 'exact', None, _("only fold specified revisions")),
      ('', 'from', None, _("fold revisions linearly to working copy parent"))
-    ] + commitopts + commitopts2,
+    ] + commitopts + commitopts2 + commitopts3,
     _('hg fold [OPTION]... [-r] REV'))
 def fold(ui, repo, *revs, **opts):
     """fold multiple revisions into a single one
@@ -355,6 +355,7 @@
 
          hg fold foo::@ --exact
     """
+    _resolveoptions(ui, opts)
     revs = list(revs)
     revs.extend(opts['rev'])
     if not revs: