| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a
�+�b� � @ 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��}|�|�s dS ||�}d}|D ]V}|�� }|sBq0|dkrR|d7 }z |�d�\}}}|||fV W q0 ty� Y q00 q0|�� 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 �;/usr/lib64/python3.9/site-packages/mercurial/logexchange.py�readremotenamefile s"