File: //usr/lib/python3/dist-packages/hgext/__pycache__/absorb.cpython-310.pyc
o
�]Lbܣ �
@ s� d Z ddlmZ ddlZddlmZ ddlmZmZ ddl m
Z
mZmZm
Z
mZmZmZmZmZmZmZmZmZmZmZ ddlmZ dZi Ze�e�Zi Ze�e�Zed d
dd� ed d
dd� ed ddd� dddd�Z ej!Z!G dd� de"�Z#G dd� de"�Z$dd� Z%d<dd�Z&d<dd�Z'G dd� dej(�Z)d=d d!�Z*G d"d#� d#e"�Z+G d$d%� d%e"�Z,d&d'� Z-d(d)� Z.d>d*d+�Z/ed d,d-ded.�fd/d0ded1�fd2d3ded4�fd5d6ded7�fgej0 ej1 ej2 ed8�ej3dd9�d:d;� �Z4dS )?a? apply working directory changes to changesets (EXPERIMENTAL)
The absorb extension provides a command to use annotate information to
amend modified chunks into the corresponding non-public changesets.
::
[absorb]
# only check 50 recent non-public changesets at most
max-stack-size = 50
# whether to add noise to new commits to avoid obsolescence cycle
add-noise = 1
# make `amend --correlated` a shortcut to the main command
amend-flag = correlated
[color]
absorb.description = yellow
absorb.node = blue bold
absorb.path = bold
� )�absolute_importN)�_)�hex�short)�cmdutil�commands�context�crecord�error�linelog�mdiff�obsolete�patch�phases�pycompat� registrar�rewriteutil�scmutil�util)�
stringutils ships-with-hg-core� absorb� add-noiseT��defaults
amend-flag� max-stack-size�2 s yellows blue bolds bold)� absorb.description� absorb.node� absorb.pathc @ s$ e Zd ZdZdZdZdZdd� ZdS )�nulluizblank ui object doing nothingFTc C s dd� }|S )Nc _ s d S �N� )�args�kwdsr! r! �./usr/lib/python3/dist-packages/hgext/absorb.py�nullfunc_ � z$nullui.__getitem__.<locals>.nullfuncr! )�namer% r! r! r$ �__getitem__^ s znullui.__getitem__N)�__name__�
__module__�__qualname__�__doc__� debugflag�verbose�quietr( r! r! r! r$ r W s r c @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �emptyfilecontextz.minimal filecontext representing an empty filec C s
|| _ d S r )�_repo)�self�repor! r! r$ �__init__h s
zemptyfilecontext.__init__c C � dS )N� r! �r2 r! r! r$ �datak r&