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 : /lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a �+�b� � @ s� d dl mZ d dlZd dlZd dlZddlmZ ddlmZm Z ddl mZmZm Z mZmZmZmZ ddlmZ ejZed�Zed �Zed �Zzd dlZd dlZej W n eefy� dZY n0 G dd� de j�Zd d� ZG dd� de�Z G dd� de e!�ZG dd� de �Z"G dd� de �Z#G dd� de �Z$d(dd�Z%d)dd�Z&dd� Z'd*dd �Z(ed!�ed"�ed#�ed$�d%�Z)G d&d'� d'e�Z*dS )+� )�absolute_importN� )�_)�getattr�open)� diffhelper�encoding�error�patch�pycompat�scmutil�util)� stringutils� # To remove '-' lines, make them ' ' lines (context). # To remove '+' lines, delete them. # Lines starting with # will be removed from the patch. s, # # If the patch applies cleanly, the edited hunk will immediately be # added to the record list. If it does not apply cleanly, a rejects file # will be generated. You can use that when you try again. If all lines # of the hunk are removed, then the edit is aborted and the hunk is left # unchanged. s� # # If the patch applies cleanly, the edited patch will immediately # be finalised. If it does not apply cleanly, rejects files will be # generated. You can use those when you try again. c @ s e Zd ZdZdS )� fallbackerrorzDError that indicates the client should try to fallback to text mode.N)�__name__� __module__�__qualname__�__doc__� r r �7/usr/lib64/python3.9/site-packages/mercurial/crecord.pyr F s r c C s t o| �d�dkS )z�Return True if the user wants to use curses This method returns True if curses is found (and that python is built with it) and that the user has the correct flag for the ui. s chunkselectors curses)�cursesZ interface)�uir r r �checkcursesM s r c @ sR e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z ddd�Z dd� ZdS )� patchnodezVabstract class for patch graph nodes (i.e. patchroot, header, hunk, hunkline) c C s t d��d S �N�&