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 �]LbR~ � @ sV d dl mZ d dlZddlmZmZmZ ddlmZm Z m Z mZmZm Z ddlmZmZ ejr[d dlmZmZmZmZmZmZmZmZmZ ddlmZ eeeeeeeeeeef �s[J �ejZejZej Z ej!Z!G d d � d e"�Z#dd� Z$d d� Z%G dd� de"�Z&G dd� de&�Z'dZ(de( Z)de( Z*dZ+ee+�Z,de, Z-dZ.dZ/dZ0G dd� de"�Z1dS )� )�absolute_importN� )�bin�hex�nullrev)�encoding�error�obsolete�pycompat�scmutil�util)�repoviewutil� stringutil) �Any�Callable�Dict�Iterable�List�Optional�Set�Tuple�Union)� localrepoc @ s@ e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dS )�BranchMapCachez8mapping of filtered views of repo with their branchcachec C s i | _ d S �N)�_per_filter��self� r �5/usr/lib/python3/dist-packages/mercurial/branchmap.py�__init__E � zBranchMapCache.__init__c C s | � |� | j|j S r )�updatecacher � filtername�r �repor r r �__getitem__H s zBranchMapCache.__getitem__c s� |j }|j}| j�|�� � du s� �|�st�|�� g }� du rLt�|�}|durH|�|�}| | � � � |j j |j }|�� fdd�|D �� nt|�� |�|j� j d d�� |r`� �||� � �|�siJ |��� | j|j<