/
lib64
/
python3.9
/
site-packages
/
hgext
/
__pycache__
/
Upload File
HOME
a �+�b�O � @ sz d Z ddlmZ ddlZddlZddlZddlZddlmZ ddl m Z mZ ddlm Z mZmZmZmZmZmZmZmZmZmZmZmZ ddlmZmZmZ i Ze�e�ZdZ dZ!d Z"d Z#e"ej$iZ%dd� Z&d d� Z'dd� Z(dd� Z)dd� Z*dd� Z+dd� Z,dd� Z-dd� Z.dd� Z/dd � Z0G d!d"� d"e�1d"d#��Z2G d$d%� d%e3�Z4d&Z5ed'd(d)gd*d+� ej6D � d,ej7d-�d.d/� �Z8dS )0z�track previous positions of bookmarks (EXPERIMENTAL) This extension adds a new command: `hg journal`, which shows you where bookmarks were previously located. � )�absolute_importN)�_)�bin�hex) � bookmarks�cmdutil�dispatch�encoding�error� extensions�hg� localrepo�lock� logcmdutil�pycompat� registrar�util)�dateutil�procutil� stringutils ships-with-hg-cores bookmarks wdirparentc C sN t �tdt� t �tjdt� t �tj dt � t �tdt� t �tdt � d S )Ns runcommands _write� dirstates postshares copystore)r Zwrapfunctionr � runcommandr �bmstore�recordbookmarksZ wrapfilecacher Zlocalrepository�wrapdirstater � wrappostshare�unsharejournal)�ui� r �3/usr/lib64/python3.9/site-packages/hgext/journal.py�extsetupF s �r c C s@ |� � r<t|�|_|j�d� t�|d�\}}|r<t||� d S )N� namejournalr )�local�journalstorage�journalZ_wlockfreeprefix�addr Zisfilecached�_setupdirstate)r �repo�dirstate�cachedr r r � reposetupP s r* c G s t j|� | ||||g|�R � S )z;Track the command line options for recording in the journal)r# � recordcommand)�origZluir'