Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a �+�bE � @ s< d dl mZ d dlZd dlZd dlZddlmZ ddlmZm Z ddl mZmZm Z mZmZmZ ddlmZ e�d�Ze�d �ZejZejZejZejZejZejZG d d� de�Ze� Zd)d d�Zdd� Zdd� Z dd� Z!d*dd�Z"d+dd�Z#efdd�Z$efdd�Z%dd� Z&dd � Z'd!d"� Z(d#d$� Z)d%d&� Z*d'd(� Z+dS ),� )�absolute_importN� )�_)�getattr�setattr)� diffhelper�encoding�error�policy�pycompat�util)�dateutil�bdiff�mpatchc @ sJ e Zd ZdZdZddddddddddddddddd�Zdd� Zd d � ZdS )�diffoptsa context is the number of context lines text treats all files as text showfunc enables diff -p output git enables the git extended patch format nodates removes dates from diff headers nobinary ignores binary files noprefix disables the 'a/' and 'b/' prefixes (ignored in plain mode) ignorews ignores all whitespace changes in the diff ignorewsamount ignores changes in the amount of whitespace ignoreblanklines ignores changes whose lines are all blank upgrade generates git diffs to avoid data loss T� Fr )s contexts texts showfuncs gits nodatess nobinarys noprefixs indexs ignorewss ignorewsamounts ignorewseols ignoreblankliness upgrades showsimilaritys worddiffs xdiffc K s� t �|�}| j�� D ],}|�|�}|d u r4| j| }t| ||� qzt| j�| _W n, ty~ t � td�t �| j� ��Y n0 d S )Ns3 diff context lines count must be an integer, not %r) r Zbyteskwargs�defaults�keys�getr �int�context� ValueErrorr � InputErrorr Zbytestr)�self�opts�k�v� r �5/usr/lib64/python3.9/site-packages/mercurial/mdiff.py�__init__L s ��zdiffopts.__init__c s6 � fdd�� j D �}t�|�}|�|� tf i |��S )Nc s i | ]}|t � |��qS r )r )�.0r �r r r � <dictcomp>] � z!diffopts.copy.<locals>.<dictcomp>)r r Z strkwargs�updater )r �kwargsr r r! r �copy\ s z diffopts.copyN)�__name__� __module__�__qualname__�__doc__Z_HAS_DYNAMIC_ATTRIBUTESr r r&