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 �]LbM� � @ s� d dl mZmZ d dlZd dlZddlmZ ddlmZm Z ddl mZm Z G dd� de�Zd d � Zdd� ZdAd d�Zdd� Zdd� Zdd� Zdd� Zdd� ZdBdd�Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Z e!d)d*�Z"e!d+d*�Z#e!d,d*�Z$e!d-d*�Z%e!d.d*�Z&e!d/d*�Z'e!d0d*�Z(e!d1d*�Z)e!d0d*�Z*e�+d2�Z,e�+d3�Z-d4d5� Z.d6d7� Z/d8d9� Z0d:d;� Z1d<d=� Z2d>Z3d?d@� Z4dS )C� )�absolute_import�print_functionN� )�nullrev)�error�util)�flagutil�sidedatac @ s e Zd ZdZ d3dd�Zdd� Zedd� �Zej d d � �Z dd� Zd d� Zej dd� �Z dd� Zdd� Zej dd� �Zdd� Zdd� Zej dd� �Zdd� Zdd � Zej d!d"� �Zd#d$� Zd%d&� Zej d'd(� �Zd)d*� Zd+d,� Zej d-d.� �Zd/d0� Zd1d2� ZdS )4� ChangingFilesaz A class recording the changes made to files by a changeset Actions performed on files are gathered into 3 sets: - added: files actively added in the changeset. - merged: files whose history got merged - removed: files removed in the revision - salvaged: files that might have been deleted by a merge but were not - touched: files affected by the merge and copies information is held by 2 mappings - copied_from_p1: {"<new-name>": "<source-name-in-p1>"} mapping for copies - copied_from_p2: {"<new-name>": "<source-name-in-p2>"} mapping for copies See their inline help for details. Nc C s� t |d u rdn|�| _t |d u rdn|�| _t |d u rdn|�| _t |d u r(dn|�| _t |d u r3dn|�| _| j�| j� | j�| j� | j�| j� t|d u rSdn|�| _t|d u r^dn|�| _ d S )N� ) �set�_added�_merged�_removed�_touched� _salvaged�update�dict� _p1_copies� _p2_copies)�self�touched�added�removed�merged�salvaged� p1_copies� p2_copiesr r �4/usr/lib/python3/dist-packages/mercurial/metadata.py�__init__- s zChangingFiles.__init__c C sT | j |j ko)| j|jko)| j|jko)| j|jko)| j|jko)| j|jko)| j|jkS �N)r r r r r �copied_from_p1�copied_from_p2)r �otherr r r �__eq__B s � � � � � �zChangingFiles.__eq__c C s"