/
lib64
/
python3.9
/
site-packages
/
mercurial
/
__pycache__
/
Upload File
HOME
a �+�bC � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZm Z m Z mZ dZdZ d Zd Ze deded iZdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� ZejG d d!� d!e��Zd"d#� Zd$d%� Zd S )&a> 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. � )�absolute_import� )�nullrev)�attr)�dagop�pycompat�smartset�util� C� P� G� M� |� :Nc # s� i }�D ]�}| | }�fdd�|� � D �� � fdd�|� � D �}dd� t� �D �}|D ]�}|�|�}|du r�t�tj�s�t����ttt�| �|g��� }||<