File: //proc/self/root/usr/lib64/python2.7/site-packages/mercurial/graphmod.pyc
�
1�3\c @@ s� d Z d d l m Z d d l m Z d d l m Z m Z m Z m Z d Z
d Z d Z d Z
i d
e 6d e 6d e
6Z d � Z d
� Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d S( s> supports walking the history as DAGs suitable for graphical output
The most basic format we use is that of::
(id, type, data, [parentids])
The node and parent ids are arbitrary integers which identify a node in the
context of the graph returned. Type is a constant specifying the node type.
Data depends on type.
i ( t absolute_importi ( t nullrev( t dagopt pycompatt smartsett utilt Ct Pt Gt Mt |t :c
#@ s� i } x�� D]�} | | } t � f d � | j � D� � � g | j � D]6 } | j � t k rL | j � � k rL | j � ^ qL } g t � � D] } t | f ^ q� } x� | D]� } | j | � } | d k r(t � t j
� s� t j
� � � n t t t j | � | g � � � } | | <n | sQ| j
t | f � � j | � q� | j � f d � | D� � � j | � q� W| j � t | | f Vq
Wd S( s� cset DAG generator yielding (id, CHANGESET, ctx, [parentinfo]) tuples
This generator function walks through revisions (which should be ordered
from bigger to lower). It returns a tuple for each node.
Each parentinfo entry is a tuple with (edgetype, parentid), where edgetype
is one of PARENT, GRANDPARENT or MISSINGPARENT. The node and parent ids
are arbitrary integers which identify a node in the context of the graph
returned.
c 3@ s- | ]# } | j � � k r | j � Vq d S( N( t rev( t .0t p( t revs( s8 /usr/lib64/python2.7/site-packages/mercurial/graphmod.pys <genexpr>; s c 3@ s'