Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
mercurial
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: logexchange.cpython-310.pyc
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&