Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/mercurial/__pycache__/ |
Upload File : |
o �]Lb� � @ s\ d dl mZ ddlmZ ddlmZmZmZmZ dd� Z G dd� de �ZG d d � d e �ZdS )� )�absolute_import� )�_)�pycompat� registrar� templatekw�utilc C s | du rg S | gS )zF a convenience method to return an empty list instead of None N� )�valr r �6/usr/lib/python3/dist-packages/mercurial/namespaces.py�tolist s r c @ sT e Zd ZdZdZdd� Zdd� Zdd� Zdd d�Zdd � Z e Z ddd�Zdd� Zd S )� namespacesz�provides an interface to register and operate on multiple namespaces. See the namespace class below for details on the namespace object. r c C s� t �� | _t�� }dd� }dd� }dd� }tdd|d |||dd�}| �|� d d� }d d� }dd� }tdd |d |||dhdd�}| �|� dd� } dd� } dd� }tdd|d | | |dd�}| �|� d S )Nc S � | j �� S �N)� _bookmarks�keys��repor r r �<lambda>$ � z%namespaces.__init__.<locals>.<lambda>c S s t | j�|��S r )r r �get�r �namer r r r % � c S � | � |�S r )� nodebookmarks�r �noder r r r &