Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/mercurial/__pycache__/ |
Upload File : |
o �]Lb�! � @ s� d dl mZ d dlZddlmZ ddlmZmZ ddlm Z mZm Z mZmZm Z mZ e�d�Zdd d �Zdd d�Zdd� Zdd� Zdd� Zdd� Zddd�ZdS )� )�absolute_importN� )�_)�hex�nullrev)�error�node�obsolete�obsutil�revset�scmutil�utils \b[0-9a-f]{6,64}\b� c sf | j j� t|�}||k r� fdd�|D �}d�|�}|S |�� }td�}|t�� |��|d f; }|S )z�returns a string summarizing revisions in a decent size If there are few enough revisions, we list them all. Otherwise we display a summary of the form: 1ea73414a91b and 5 others c s g | ] }t �� |���qS � )r �short��.0�r��tonoder �7/usr/lib/python3/dist-packages/mercurial/rewriteutil.py� <listcomp>+ s z_formatrevs.<locals>.<listcomp>s , s %s and %d othersr )� changelogr �len�join�firstr r )�repo�revs�maxrevs�numrevs�shorts�summaryr r r r �_formatrevs s �r"