| Server IP : 162.241.203.86 / Your IP : 216.73.216.183 Web Server : Apache System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : luxlic01 ( 6532) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a
�+�bX � @ s� d dl mZ d dlZddlmZ ddlmZmZ ddlm Z m
Z
mZmZm
Z
mZmZmZmZmZ ddd �ZG d
d� de�Zddd
�Zdd� Zddd�Zdd� Zdd� Zdd� Zdd� ZdS )� )�absolute_importN� )�_)�hex�short)
� bookmarks� branchmap�error�obsolete�phases�pycompat�scmutil�setdiscovery�
treediscovery�utilFc s� |� d�st�| |||�S |rF| jj�t�fdd�|D ��rF|d|fS tj| j| || |d�}|\}}}|r�|s�| jj� t � fdd�|D ��}t
|�||p�t
|�fS )a� Return a tuple (common, anyincoming, heads) used to identify the common
subset of nodes between repo and remote.
"common" is a list of (at least) the heads of the common subset.
"anyincoming" is testable as a boolean indicating if any nodes are missing
locally. If remote does not support getbundle, this actually is a list of
roots of the nodes that would be incoming, to be supplied to
changegroupsubset. No code except for pull should be relying on this fact
any longer.
"heads" is either the supplied heads, or else the remote's heads.
"ancestorsof" if not None, restrict the discovery to a subset defined by
these nodes. Changeset outside of this set won't be considered (but may
still appear in "common").
If you pass heads and they are all known locally, the response lists just
these heads in "common" and in "heads".
Please use findcommonoutgoing to compute the set of outgoing nodes to give
extensions a good hook into outgoing.
s getbundlec 3 s | ]}� |�V qd S �N� ��.0�h�� knownnoder �9/usr/lib64/python3.9/site-packages/mercurial/discovery.py� <genexpr>; � z%findcommonincoming.<locals>.<genexpr>F)Zabortwhenunrelated�ancestorsofc 3 s | ]}� |� V qd S r r �r �n)�has_noder r r I r )�capabler �findcommonincoming� changelog�hasnode�allr Zfindcommonheads�ui�any�list) �repo�remote�heads�forcer �res�commonZanyincZsrvheadsr )r r r r s$
�
r c @ s>