diff -r 15299bfd0813 -r c39afce52e31 hgext/evolve.py --- a/hgext/evolve.py Wed Nov 21 00:18:41 2012 +0100 +++ b/hgext/evolve.py Wed Nov 21 11:37:30 2012 +0100 @@ -19,7 +19,7 @@ - improves some aspect of the early implementation in 2.3 ''' -testedwith = '2.4-rc' +testedwith = '' buglink = 'https://bitbucket.org/marmoute/mutable-history/issues' @@ -29,11 +29,14 @@ try: from mercurial import obsolete - getattr(obsolete, 'getrevs') # 2.4 specific if not obsolete._enabled: obsolete._enabled = True + from mercurial import bookmarks + bookmarks.bmstore except (ImportError, AttributeError): - raise util.Abort('Evolve extension requires Mercurial 2.4 (or later)') + raise util.Abort('This version of Evolve is too old for you mercurial version', + hint='requires version >> 2.4.x') + from mercurial import bookmarks @@ -1499,7 +1502,7 @@ [('A', 'addremove', None, _('mark new/missing files as added/removed before committing')), ('n', 'note', '', _('use text as commit message for this update')), - ('c', 'change', '', _('specifies the changesets to amend'), _('REV')), + ('c', 'change', '', _('specifies the changesets to amend (DEPRECATED)'), _('REV')), ('e', 'edit', False, _('invoke editor on commit messages')), ] + walkopts + commitopts + commitopts2, _('[OPTION]... [FILE]...'))