hgext/evolve.py
branchstable
changeset 1149 a206ee74f129
parent 1145 fb51113a1c08
child 1150 2c99d92faa62
equal deleted inserted replaced
1148:458f883b68dc 1149:a206ee74f129
    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 Mercurial core
    19     - improves some aspect of the early implementation in Mercurial core
    20 '''
    20 '''
    21 
    21 
       
    22 __version__ = '5.1.0'
    22 testedwith = '3.2'
    23 testedwith = '3.2'
    23 buglink = 'http://bz.selenic.com/'
    24 buglink = 'http://bz.selenic.com/'
    24 
    25 
    25 import sys, os
    26 import sys, os
    26 import random
    27 import random
    83     oldmemfilectx = context.memfilectx
    84     oldmemfilectx = context.memfilectx
    84     def memfilectx(repo, *args, **kwargs):
    85     def memfilectx(repo, *args, **kwargs):
    85         return oldmemfilectx(*args, **kwargs)
    86         return oldmemfilectx(*args, **kwargs)
    86 else:
    87 else:
    87     raise util.Abort('Your Mercurial is too old for this version of Evolve\n'
    88     raise util.Abort('Your Mercurial is too old for this version of Evolve\n'
    88                      'requires version 3.2 or above')
    89                      'requires version %s or above' % min(testedwith.split()))
    89 
    90 
    90 
    91 
    91 # This extension contains the following code
    92 # This extension contains the following code
    92 #
    93 #
    93 # - Extension Helper code
    94 # - Extension Helper code