setup.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Fri, 09 May 2014 03:06:36 -0700
branchstable
changeset 930 cac35bef8aee
parent 917 fc04758ea9f5
child 935 a03ea39aca2a
permissions -rw-r--r--
import: --obsolete flag for automatic obsolescence marker creation A new `--obsolete` flag is added to import. When present, the new node will be marked as a successors of the one specified in the `Node` field of the imported patch. No marker are created when revision have the node expected in the patch. This improves email based work flow where implicit rebase are likely to happen and extra information are lost, changing the hash. This new behavior requires a flags, otherwise the `hg export x | hg import -` idiom would change, turning the source obsolete. (Changing from `hg graft x` to `hg rebase --dest . --rev x`) This change only takes effect when using Mercurial 3.0 and above

# Copied from histedit setup.py
# Credit to Augie Fackler <durin42@gmail.com>

from distutils.core import setup

setup(
    name='hg-evolve',
    version='3.3.1',
    author='Pierre-Yves David',
    maintainer='Pierre-Yves David',
    maintainer_email='pierre-yves.david@ens-lyon.org',
    url='https://bitbucket.org/marmoute/mutable-history',
    description='Flexible evolution of Mercurial history.',
    long_description=open('README').read(),
    keywords='hg mercurial',
    license='GPLv2+',
    py_modules=['hgext.evolve', 'hgext.pushexperiment'],
)