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� � @ sr d dl mZ ddlmZ ddlmZmZmZ ddl m Z dZdd� Zd d � Z dd� Zddd�Zdd� Zdd� Zd S )� )�absolute_import� )�hex)�pycompat�util�vfs)�urlutils logexchangec c s� � t �| j�t��}|�|�sdS ||�}d}|D ]*}|�� }|s"q|dkr*|d7 }z|�d�\}}}|||fV W q tyC Y qw |�� dS )z� reads a file from .hg/logexchange/ directory and yields it's content filename: the file to be read yield a tuple (node, remotepath, name) Nr r � ) �vfsmodr �join� remotenamedir�exists�strip�split� ValueError�close) �repo�filenamer �f�lineno�line�node�remote�rname� r �7/usr/lib/python3/dist-packages/mercurial/logexchange.py�readremotenamefile s&