Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/hgext/__pycache__/ |
Upload File : |
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'