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 �]LbLD � @ s� d dl mZ ddlmZ ddlmZmZmZmZm Z dd� Z dd� Zd d � Zdd� Z d d� Zg d�Zeee ed�Zd@dd�Zed�ed�fed�ed�fd�ed�ed�fed�ed�fd�ed�ed�fed�ed�fd�ed�ed�fed�ed�fd�ed �ed�fed!�ed�fd�ed"�d#fed$�d#fd�ed"�ed%�fed$�ed%�fd�ed&�ed'�fed&�ed(�fd�ed)�d#fed)�d#fd�ed*�d#fed+�ed,�fd�d-� ZdAd/d0�Z #dBd2d3�Z #dBd4d5�Zd6d7� Zd8d9� Zd:d;� Zd<d=� Zd>d?� Zd#S )C� )�absolute_import� )�_)� bookmarks�error�obsutil�scmutil�stackc C s� | j j}| j j}| j j}t� }t||��}|rF|�� }t�| ||��}|s-|� ||�� n|D ]} | D ]} || �}|dkrB|� |� q3q/|s|S )z�Return all changesets that may be a new parent for orphan `rev`. This function works fine on non-orphan revisions, it's just silly because there's no destination implied by obsolete markers, so it'll return nothing. ���)� changelog�node� parentrevs�rev�set�list�popr �successorssets�extend�add)�repor �tonode�parents�torev�dest�tovisit�r�succsets�ss�n�dr� r �4/usr/lib/python3/dist-packages/mercurial/destutil.py�orphanpossibledestination s&