| Server IP : 108.167.183.253 / Your IP : 216.73.217.111 Web Server : Apache System : Linux gator4209.hostgator.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64 User : raghunath ( 2558) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/hgext/largefiles/__pycache__/ |
Upload File : |
a
�+�b> � @ s� d dl mZ d dlZd dlmZ d dlmZ d dlmZm Z m
Z
mZmZm
Z
mZ ddlmZ ejZejZdZe � � Zd d
� Zdd� Zd
d� Zdd� Ze�ed�dd� �Zdd� ZdS )� )�absolute_importN)�_)�open)�error� exthelper�httppeer�util�wireprototypes�wireprotov1peer�wireprotov1server� )�lfutilsa
This repository uses the largefiles extension.
Please enable it in your Mercurial config file.
c C sZ |� � ��$}t�| |�}t�tj�|�� tj|| j j
d�}z�zZ|�� D ]}|�|� qH|j
�d� |t�|j
�kr�tdtd���|�� t�| |� W np t�y } zV| j�td�||jf � t�d|r�|�� nd�W Y d}~W |�� W d � S d}~0 0 W |�� n
|�� 0 W d � n1 �s60 Y t�d|�rT|�� nd�S )zcServer command for putting a largefile into a repository's local store
and into the user cache.)�
createmoder s$ largefile contents do not match hashs, largefiles: failed to put %s into store: %s
r � N)Zmayberedirectstdior
Z storepathr �makedirs�os�path�dirnameZatomictempfile�storer Z
getpayload�write�_fp�seekZhexsha1�IOErrorr �closeZlinktousercache�ui�warn�strerrorr Zpushres�getvalue�discard)�repo�proto�sha�outputr Ztmpfp�p�e� r% �</usr/lib64/python3.9/site-packages/hgext/largefiles/proto.py�putlfile$ s2 ����4r'