hgext/evolve.py
changeset 871 66bbbb96f5e0
parent 870 1a23c7c52a43
child 875 10867a8e27c6
equal deleted inserted replaced
870:1a23c7c52a43 871:66bbbb96f5e0
    17     - alters core commands and extensions that rewrite history to use
    17     - alters core commands and extensions that rewrite history to use
    18       this feature,
    18       this feature,
    19     - improves some aspect of the early implementation in 2.3
    19     - improves some aspect of the early implementation in 2.3
    20 '''
    20 '''
    21 
    21 
    22 testedwith = '2.7 2.7.1 2.7.2 2.8 2.8.1'
    22 testedwith = 'default'
    23 buglink = 'https://bitbucket.org/marmoute/mutable-history/issues'
    23 buglink = 'https://bitbucket.org/marmoute/mutable-history/issues'
    24 
    24 
    25 import sys
    25 import sys
    26 import random
    26 import random
    27 from StringIO import StringIO
    27 from StringIO import StringIO
    32 
    32 
    33 try:
    33 try:
    34     from mercurial import obsolete
    34     from mercurial import obsolete
    35     if not obsolete._enabled:
    35     if not obsolete._enabled:
    36         obsolete._enabled = True
    36         obsolete._enabled = True
    37     from mercurial import bookmarks
    37     from mercurial import exchange
    38     bookmarks.bmstore
    38     exchange.pull
    39 except (ImportError, AttributeError):
    39 except (ImportError, AttributeError):
    40     raise util.Abort('Your Mercurial is too old for this version of Evolve',
    40     raise util.Abort('Your Mercurial is too old for this version of Evolve\n'
    41                      hint='requires version >> 2.4.x')
    41                      'requires version >> 2.9.x')
    42 
    42 
    43 
    43 
    44 
    44 
    45 from mercurial import base85
    45 from mercurial import base85
    46 from mercurial import bookmarks
    46 from mercurial import bookmarks