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 dlZd dlZddlmZ ddlmZ ddlm Z ddl mZmZmZm Z mZ ddlmZmZ d Zd ZdZdZdZeeed �ZdZdZdZdZdZdZd ZdZeeeeeeeed�Z dZ!dZ"dZ#d Z$e!e"e#e$d�Z%dZ&dZ'e&e'd�Z(dZ)dZ*e)e*d�Z+dZ,dZ-e,e-d�Z.dZ/dZ0e/e0d�Z1ee%ee(ee+ei ei ei ee.ee1iZ2e�3d�Z4dd� Z5e j6dd�G dd� de7��Z8e j6ddd�G dd � d e7��Z9d!d"� Z:d#d$� Z;d%d&� Z<d'd(� Z=dedfd)d*�Z>d+d,� Z?efd-d.�Z@d/d0� ZAd[d1d2�ZBd3d4� ZCefd5d6�ZDG d7d8� d8e7�ZEG d9d:� d:e7�ZFG d;d<� d<e7�ZGG d=d>� d>e7�ZHG d?d@� d@e7�ZIG dAdB� dBe7�ZJG dCdD� dDeJ�ZKG dEdF� dFe7�ZLG dGdH� dHeL�ZMi ZNg ZOdIdJ� ZPG dKdL� dLe7�ZQG dMdN� dNeQ�ZRG dOdP� dPeQ�ZSdQdR� ZTdSdTgiZUG dUdV� dVe7�ZVG dWdX� dXe7�ZWG dYdZ� dZe7�ZXdS )\� )�absolute_importN� )�_)�getattr)�attr)�encoding�error�pycompat�util�wireprototypes)�cborutil� stringutil� i � � � )s stream-begins stream-ends encoded� � � � � )s command-requests command-datas command-responses error-responses text-outputs progresss sender-protocol-settingss stream-settings)s new� continuations mores have-data)r � eosz<HHc C s\ dd� t �| �D �}g }d}||kr)||@ r!|�|�|d| �� |dK }||ksd�|�S )zFConvert a numeric flags value to a human value, using a mapping table.c S s i | ]\}}||�qS � r )�.0�k�vr r �</usr/lib/python3/dist-packages/mercurial/wireprotoframing.py� <dictcomp>~ s zhumanflags.<locals>.<dictcomp>r � <unknown 0x%02x>� |)r � iteritems�append�get�join)�mapping�value�namemap�flags�valr r r � humanflags| s � r) T)�slotsc @ s@ e Zd ZdZe�� Ze�� Ze�� Ze�� Z e�� Z e�� ZdS )�frameheaderz&Represents the data in a frame header.N)�__name__� __module__�__qualname__�__doc__r �ib�length� requestid�streamid�streamflags�typeidr'