File: //lib64/python2.7/site-packages/mercurial/rewriteutil.pyc
�
1�3\c @@ s[ d d l m Z d d l m Z d d l m Z m Z m Z m Z d d � Z d � Z
d S( i ( t absolute_importi ( t _( t errort nodet obsoletet revsett rewritec C@ s� t j | k rC t d � | } t d � } t j | d | �� n | j d | � } t | d
j � � d k r� t j t d � | � � n | r� t d � | } t d � } t j | d | �� n t | | � } | r� t j t d � | � � n d
S( s� check if revs can be rewritten
action is used to control the error message.
Make sure this function is called after taking the lock.
s cannot %s null changesets no changeset checked outt hints %ld and public()i s cannot %s while mergings cannot %s public changesetss see 'hg help phases' for detailss! cannot %s changeset with childrenN(
R t nullrevR R t Abortt revst lent Nonet parentst disallowednewunstable( t repoR
t actiont msgR t
publicrevst newunstable( ( s; /usr/lib64/python2.7/site-packages/mercurial/rewriteutil.pyt precheck s c C@ s8 t j | t j � } | r% t j � S| j d | | � S( s� Checks whether editing the revs will create new unstable changesets and
are we allowed to create them.
To allow new unstable changesets, set the config:
`experimental.evolution.allowunstable=True`
s
(%ld::) - %ld( R t isenabledt allowunstableoptR t basesetR
( R R
t
allowunstable( ( s; /usr/lib64/python2.7/site-packages/mercurial/rewriteutil.pyR + s
N( t
__future__R t i18nR t R R R R R R ( ( ( s; /usr/lib64/python2.7/site-packages/mercurial/rewriteutil.pyt <module> s "