| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.9/site-packages/hgext/__pycache__/ |
Upload File : |
a
�+�b 7 � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZm Z m
Z
mZmZm
Z
mZmZmZmZmZ ddlmZ e
jr�ddlZejjZnddlZejZdZi Ze�e�Ze�� Ze�� Zed d
dd� ed d
dd� ed ddd� G dd� de�Z G dd� de!�Z"dd� Z#dd� Z$dd� Z%ed ddhd�dd� �Z&edddhd�d d!� �Z'ed"ddhd�d#d$� �Z(d%d&� Z)ed'�d(d)� �Z*ed*�d+d,� �Z+ed-�d.d/� �Z,dS )0a@ showing remotebookmarks and remotebranches in UI (EXPERIMENTAL)
By default both remotebookmarks and remotebranches are turned on. Config knob to
control the individually are as follows.
Config options to tweak the default behaviour:
remotenames.bookmarks
Boolean value to enable or disable showing of remotebookmarks (default: True)
remotenames.branches
Boolean value to enable or disable showing of remotebranches (default: True)
remotenames.hoistedpeer
Name of the peer whose remotebookmarks should be hoisted into the top-level
namespace (default: 'default')
� )�absolute_import)�_)�bin)� bookmarks�error�
extensions�logexchange�
namespaces�pycompat� registrar�
revsetlang�smartset�templateutil�util)�
stringutilNs ships-with-hg-core� remotenames� bookmarksT)�default� branches� hoistedpeers defaultc @ sl e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� Zdd� Z
dd� ZeZdS )�lazyremotenamedicta�
Read-only dict-like Class to lazily resolve remotename entries
We are doing that because remotenames startup was slow.
We lazily read the remotenames file once to figure out the potential entries
and store them in self.potentialentries. Then when asked to resolve an
entry, if it is not in self.potentialentries, then it isn't there, if it
is in self.potentialentries we resolve it and store the result in
self.cache. We cannot be lazy is when asked all the entries (keys).
c C s"