Mercurial > evolve
view setup.py @ 1143:160fd06312fc
uncommit: abort when rev specifies the current changeset
The uncommit command now fails when the rev argument indicates the current
changeset. Previously this aborted in the changeset obsolescence machinery when
the current commit tries to obsolete itself.
Using the rev argument like this indicates a misunderstanding, so printing an
uncommit-specific error should make it easier to understand what went wrong.
author | Nathan Goldbaum <ngoldbau@ucsc.edu> |
---|---|
date | Tue, 28 Oct 2014 18:06:28 -0700 |
parents | c13b408c0006 |
children | a206ee74f129 |
line wrap: on
line source
# Copied from histedit setup.py # Credit to Augie Fackler <durin42@gmail.com> from distutils.core import setup setup( name='hg-evolve', version='5.0.0', 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'], )