File: //usr/lib/python3/dist-packages/hgext/__pycache__/githelp.cpython-310.pyc
o
�]Lb�� � @ s� d Z ddlmZ ddlZddlZddlmZ ddlmZm Z m
Z
mZmZm
Z
ddlmZ dZi Ze�e�Zdd � Zed
g ed�ejdd
�dd� �Zdd� ZG dd� de�ZG dd� de�Zdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Z d$d%� Z!d&d'� Z"d(d)� Z#d*d+� Z$d,d-� Z%d.d/� Z&d0d1� Z'd2d3� Z(d4d5� Z)d6d7� Z*d8d9� Z+d:d;� Z,d<d=� Z-d>d?� Z.d@dA� Z/dBdC� Z0dDdE� Z1dFdG� Z2dHdI� Z3dJdK� Z4dLdM� Z5dNdO� Z6dPdQ� Z7dRdS� Z8dTdU� Z9dVdW� Z:dXdY� Z;dZd[� Z<d\d]� Z=d^d_� Z>d`da� Z?dbdc� Z@ddde� ZAdfdg� ZBi dhe�die�dje�dke�dle�dme�dne!�doe"�dpe#�dqe$�dre%�dse'�dte(�due)�dve*�dwe+�dxe,�i dye-�dze.�d{e/�d|e0�d}e1�d~e2�de3�d�e4�d�e5�d�e6�d�e7�d�e8�d�e9�d�e:�d�e;�d�e<�d�e=��eBe&d���ZCe>e?e@eAd��ZDdS )�z�try mapping git commands to Mercurial commands
Tries to map a given git command to a Mercurial command:
$ hg githelp -- git checkout master
hg update master
If an unknown command or parameter combination is detected, an error is
produced.
� )�absolute_importN)�_)�encoding�error� fancyopts�pycompat� registrar�scmutil)�procutils ships-with-hg-corec C s<