File: //usr/lib/python3/dist-packages/hgext/__pycache__/transplant.cpython-310.pyc
o
�]LbWx � @ sd d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z m
Z
mZ ddlm
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ddlm Z m!Z!m"Z" G d d
� d
ej#�Z$i Z%e�&e%�Z&dZ'i Z(e�)e(�Z)e)dd
dd� e)dddd� G dd� de*�Z+G dd� de*�Z,G dd� de*�Z-dd� Z.dd� Z/e&dddded�ed�fdd g ed!�ed"�fd#d$ded%�fd&d'g ed(�ed"�fd)d*g ed+�ed"�fdd,ded-�ed"�fd.d/d0ed1�fddded2�fdd3d0ed4�fd5d6ded7�fdd
ded8�ed9�fged:�e&j0d;�d<d=� �Z1d>d?� Z2d@dA� Z3e�4� Z4e4dB�dCdD� �Z5e�6� Z6e6dEdFhdG�dHdI� �Z7dJdK� Z8e5e7gZ9dS )LaV command to transplant changesets from another branch
This extension allows you to transplant changes to another parent revision,
possibly in another repository. The transplant is done using 'diff' patches.
Transplanted patches are recorded in .hg/transplant/transplants, as a
map from a changeset hash to its hash in the source repository.
� )�absolute_importN)�_)�open)�bin�hex�short)�
bundlerepo�cmdutil�error�exchange�hg�
logcmdutil�match�merge�patch�pycompat� registrar�revset�smartset�state�util�vfs)�procutil�
stringutil�urlutilc @ s e Zd ZdS )�TransplantErrorN)�__name__�
__module__�__qualname__� r r �2/usr/lib/python3/dist-packages/hgext/transplant.pyr 4 s r s ships-with-hg-core�
transplant� filter)�default� logc @ s e Zd Zdd� ZdS )�transplantentryc C s || _ || _d S �N)�lnode�rnode)�selfr'