§
    	^µc%D  ã                   óÀ  — d dl mZ d dlmZmZmZmZmZ d„ Zd„ Z	d„ Z
d„ Zd„ Zg d¢Ze	e
eedœZd0d
„Z ed¦  «         ed¦  «        f ed¦  «         ed¦  «        fdœ ed¦  «         ed¦  «        f ed¦  «         ed¦  «        fdœ ed¦  «         ed¦  «        f ed¦  «         ed¦  «        fdœ ed¦  «         ed¦  «        f ed¦  «         ed¦  «        fdœ ed¦  «         ed¦  «        f ed¦  «         ed¦  «        fdœ ed¦  «        df ed¦  «        dfdœ ed¦  «         ed¦  «        f ed¦  «         ed¦  «        fdœ ed¦  «         ed¦  «        f ed¦  «         ed ¦  «        fdœ ed!¦  «        df ed!¦  «        dfdœ ed"¦  «        df ed#¦  «         ed$¦  «        fdœd%œ
Zd1d'„Z	 d2d)„Z	 d2d*„Zd+„ Zd,„ Zd-„ Zd.„ Zd/„ ZdS )3é   )Ú_)Ú	bookmarksÚerrorÚobsutilÚscmutilÚstackc                 ó¨  — | j         j        }| j         j        }| j         j        }t	          ¦   «         }t           ||¦  «        ¦  «        }|r…|                     ¦   «         }t          j        |  ||¦  «        ¦  «        }|s| 	                     ||¦  «        ¦  «         n0|D ]-}	|	D ](}
 ||
¦  «        }|dk    r| 
                    |¦  «         Œ)Œ.|°…|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Údrs               ú4/usr/lib/python3/dist-packages/mercurial/destutil.pyÚorphanpossibledestinationr!      sò   € ð Œ^Ô €FØŒnÔ'€GØŒNÔ€EÝ‰5Œ5€DÝ�7�7˜3‘<”<Ñ Ô €GØ
ð %Ø�KŠK‰MŒMˆÝÔ)¨$°°°q±	´	Ñ:Ô:ˆØð 	%ð �NŠN˜7˜7 1™:œ:Ñ&Ô&Ð&Ð&ð ð %ð %�Øð %ð %�AØ˜˜q™œ�BØ˜R’x�xØŸš ™œ˜øð%ð ð %ð& €Kó    c                 ó‚  — d}| d         }|                      ¦   «         }d}|                     ¦   «         �r|                     ¦   «         sòt          j        | |                     ¦   «         ¦  «        }|r5d„ |D ¦   «         }|                      d|¦  «                             ¦   «         }nd|                      ¦   «         }|                     ¦   «         r(|                      ¦   «         }|                     ¦   «         °(|                     ¦   «         }|�.t          j	        | ¦  «        r| d                              ¦   «         }||dfS )z9decide of an update destination from obsolescence markersNc                 ó   — g | ]	}|D ]}|‘ŒŒ
S © r%   )Ú.0Úsubr   s      r    ú
<listcomp>z"_destupdateobs.<locals>.<listcomp>I   s%   € Ð?Ð?Ð? ¸3Ð?Ð?°a˜!Ð?Ð?Ð?Ð?r"   s   max(%ln)ó   .)
Úp1ÚobsoleteÚchildrenr   r   r   ÚrevsÚfirstr   Úisactivewdirparent)r   Úcleanr   Úwcr*   ÚmovemarkÚ
successorss          r    Ú_destupdateobsr4   /   s  € à€DØ	ˆdŒ€BØ	�Š‰Œ€BØ€Hà	‡{‚{�}„}ñ )˜RŸ[š[™]œ]ð )åÔ+¨D°"·'²'±)´)Ñ<Ô<ˆ
ð ð 	ð @Ð? zÐ?Ñ?Ô?ˆJð —9’9˜[¨*Ñ5Ô5×;Ò;Ñ=Ô=ˆDˆDà—’‘”ˆBØ—+’+‘-”-ð Ø—U’U‘W”W�ð —+’+‘-”-ð à—7’7‘9”9ˆDàÐ¥	Ô <¸TÑ BÔ BÐØ˜D”z—’Ñ(Ô(ˆHà�˜4ÐÐr"   c                 óh   — d}t          j        | j        | ¦  «        \  }}|�| j        |         }|||fS )z4decide on an update destination from active bookmarkN)r   ÚcalculateupdateÚuiÚ
_bookmarks)r   r0   r   Ú
activemarkr2   s        r    Ú_destupdatebookr:   Z   sA   € ð €DÝ$Ô4°T´W¸dÑCÔCÑ€J�ØÐØŒ˜zÔ*ˆØ�˜:Ð%Ð%r"   c                 óD  — | d         }dx}}|                      ¦   «         }|r| d                               ¦   «         }||                      ¦   «         v rn|                      |¦  «        }|r(|                      d|¦  «                             ¦   «         }t          j        | ¦  «        r| d                              ¦   «         }n\|dk    r<|                     ¦   «         s(|                      d¦  «                             ¦   «         }n| d                              ¦   «         }||dfS )z_decide on an update destination from current branch

    This ignores closed branch heads.
    Nr)   ó   max(.::(%ln))s   defaults   max(head() and not closed()))	ÚbranchÚ	branchmapÚbranchheadsr-   r.   r   r/   r   r*   )r   r0   r1   r2   r   ÚcurrentbranchÚheadss          r    Ú_destupdatebranchrB   d   s  € ð
 
ˆdŒ€BØÐ€HˆtØ—I’I‘K”K€Màð ,Ø˜Tœ
×)Ò)Ñ+Ô+ˆà˜ŸšÑ(Ô(Ð(Ð(Ø× Ò  Ñ/Ô/ˆØð 	>Ø—9’9Ð-¨uÑ5Ô5×;Ò;Ñ=Ô=ˆDÝÔ'¨Ñ-Ô-ð 	)Ø˜D”z—’Ñ(Ô(ˆHøØ	˜*Ò	$Ð	$¨R¯UªU©W¬WÐ	$ð �yŠyÐ8Ñ9Ô9×?Ò?ÑAÔAˆˆà�DŒz�ŠÑ Ô ˆØ�˜4ÐÐr"   c                 óÂ  — | d         }|                      ¦   «         }d}||                      ¦   «         v r†|                      |d¬¦  «        }|s
J d¦   «         ‚|                      d|¦  «                             ¦   «         }|€
J d¦   «         ‚t          j        | ¦  «        r| d                              ¦   «         }n!|                      d¦  «        }|€
J d	¦   «         ‚||dfS )
zCdecide on an update destination from closed heads in current branchNT©Úcloseds    any branch has at least one headr<   s4   any revision has at least one descendant branch headr)   s   tips%   'tip' exists even in empty repository)	r=   r>   r?   r-   r.   r   r/   r   Úlookup)r   r0   r1   r@   r2   rA   r   s          r    Ú_destupdatebranchfallbackrG      sò   € à	ˆdŒ€BØ—I’I‘K”K€MØ€HØ˜ŸšÑ(Ô(Ð(Ð(à× Ò  °tÐ Ñ<Ô<ˆØÐ9Ð9Ð9Ñ9Ô9Ð9Ø�yŠyÐ)¨5Ñ1Ô1×7Ò7Ñ9Ô9ˆàÐÐØBñ ÔÐåÔ'¨Ñ-Ô-ð 	)Ø˜D”z—’Ñ(Ô(ˆHøð �{Š{˜6Ñ"Ô"ˆØÐÐÐ!IÑÔÐØ�˜4ÐÐr"   )s	   evolutions   bookmarks   branchs   branchfallbackFc                 óœ   — dx}x}}t           D ] }t          |         | |¦  «        \  }}}|� nŒ!| |                              ¦   «         }|||fS )a"  destination for bare update operation

    return (rev, movemark, activemark)

    - rev: the revision to update to,
    - movemark: node to move the active bookmark from
                (cf bookmark.calculate update),
    - activemark: a bookmark to activate at the end of the update.
    N)ÚdestupdatestepsÚdestupdatestepmapr   )r   r0   r   r2   r9   Ústepr   s          r    Ú
destupdaterL   ¡   sm   € ð $(Ð'€DÐ'ˆ8�jåð ð ˆÝ%6°tÔ%<¸TÀ5Ñ%IÔ%IÑ"ˆˆh˜
ØÐØˆEð à
ˆtŒ*�.Š.Ñ
Ô
€Cà�˜*Ð$Ð$r"   sT   multiple matching bookmarks to merge - please merge with an explicit rev or bookmarks4   run 'hg heads' to see all heads, specify rev with -rsT   multiple matching bookmarks to rebase - please rebase to an explicit rev or bookmarks<   run 'hg heads' to see all heads, specify destination with -d)ó   merges   rebasesM   no matching bookmark to merge - please merge with an explicit rev or bookmarksM   no matching bookmark to rebase - please rebase to an explicit rev or bookmarks<   branch '%s' has %d heads - please merge with an explicit revs2   run 'hg heads .' to see heads, specify rev with -rs;   branch '%s' has %d heads - please rebase to an explicit revs:   run 'hg heads .' to see heads, specify destination with -ds8   heads are bookmarked - please merge with an explicit revs7   heads are bookmarked - please rebase to an explicit revs<   branch '%s' has one head - please merge with an explicit revs;   branch '%s' has one head - please rebase to an explicit revs   nothing to mergeNs   nothing to rebases   use 'hg update' insteads(   working directory not at a head revisions2   use 'hg update' or merge with an explicit revisions1   use 'hg update' or rebase to an explicit revisions   source set is emptys)   source set is rooted in multiple branchess.   rebaseset is rooted in multiple named branchess+   specify an explicit destination with --dest)
ó   toomanybookmarksó   nootherbookmarksó   toomanyheadsó   bookmarkedheadsó   nootherbranchheadsó   nootherheadsó   nootherheadsbehindó
   notatheadsó   emptysourcesetó   multiplebranchessourcesetrM   c                 ó¼  — d}t          j        | ¦  «        }| j        | j                 }t	          |¦  «        dk    r||d         k    r	|d         }n‡|d         }n~t	          |¦  «        dk    r,t
          d         |         \  }}t          j        ||¬¦  «        ‚t	          |¦  «        dk    r,t
          d         |         \  }}t          j        ||¬¦  «        ‚|€J ‚|S )z2find merge destination in the active bookmark caseNé   é    r   rN   ©ÚhintrO   )	r   Úheadsforactiver8   Ú_activebookmarkÚlenÚmsgdestmerger   ÚManyMergeDestAbortÚNoMergeDestAbort)	r   ÚactionÚ	sourcesetÚ	destspacer   ÚbmheadsÚcurheadÚmsgr\   s	            r    Ú_destmergebookri     sã   € à€DÝÔ& tÑ,Ô,€GØŒo˜dÔ2Ô3€GÝ
ˆ7�|„|�qÒÐØ�g˜a”jÒ Ð Ø˜1”:ˆDˆDà˜1”:ˆDˆDÝ	ˆW‰Œ˜Ò	Ð	Ý Ð!4Ô5°fÔ=‰	ˆˆTÝÔ& s°Ð6Ñ6Ô6Ð6Ý	ˆW‰Œ˜Ò	Ð	Ý Ð!4Ô5°fÔ=‰	ˆˆTÝÔ$ S¨tÐ4Ñ4Ô4Ð4ØÐÐÐØ€Kr"   Tc                 óþ  — d}|€L| | j                              ¦   «                                       ¦   «         g}| j                              ¦   «         }n¤|s,t          d         |         \  }}t          j        ||¬¦  «        ‚d}|                      d||¦  «        D ]\}	|�D|	                     ¦   «         |k    r,t          d         |         \  }}t          j        ||¬¦  «        ‚|	                     ¦   «         }Œ]|  	                    |¦  «        }
|  
                    d||
¦  «        }|rj|sht          |                      ¦   «         ¦  «        dk    rt          d         |         \  }}nt          d	         |         \  }}t          j        ||¬¦  «        ‚t          |  
                    d
|
|¦  «        ¦  «        }
t          |  
                    d|
¦  «        ¦  «        }|�$t          |  
                    d||¦  «        ¦  «        }t          |¦  «        dk    rCt          d         |         \  }}||t          |
¦  «        dz   fz  }t          j        ||¬¦  «        ‚|sŸ|
rt          d         |         \  }}npt          |                      ¦   «         ¦  «        dk    rt          d         |         \  }}||z  }n/|st          d         |         \  }}nt          d         |         \  }}t          j        ||¬¦  «        ‚|d         }|€J ‚|S )z,find merge destination based on branch headsNrV   r[   s   roots(%ld::%ld)rW   s   %ld and %lnr   rT   rU   s   %ln - (%ld::)s   %ld - bookmark()s   %ld and %ldrP   rQ   rR   rS   rZ   )Údirstater*   r   r=   r`   r   rb   r   ra   r?   r-   r_   rA   ÚAbortr   )r   rc   rd   Úonheadcheckre   r   r=   rh   r\   ÚctxÚbheadsÚonheadÚnbhss                r    Ú_destmergebranchrr   1  sü  € ð €DàÐØ˜$œ-×*Ò*Ñ,Ô,Ô-×1Ò1Ñ3Ô3Ð4ˆ	Ø”×%Ò%Ñ'Ô'ˆˆØð 	"Ý Ð!2Ô3°FÔ;‰	ˆˆTÝÔ$ S¨tÐ4Ñ4Ô4Ð4àˆØ—8’8Ð.°	¸9ÑEÔEð 	"ð 	"ˆCØÐ! c§j¢j¡l¤l°fÒ&<Ð&<Ý(Ð)EÔFÀvÔN‘	��TÝÔ.¨s¸Ð>Ñ>Ô>Ð>Ø—Z’Z‘\”\ˆFˆFà×Ò˜fÑ%Ô%€FØ�YŠY�~ y°&Ñ9Ô9€FØð *˜6ð *õ ˆt�zŠz‰|Œ|ÑÔ Ò!Ð!Ý$Ð%:Ô;¸FÔC‰IˆC��å$ ]Ô3°FÔ;‰IˆC�ÝŒk˜# DÐ)Ñ)Ô)Ð)å�$—)’)Ð,¨f°iÑ@Ô@ÑAÔA€Få�—	’	Ð-¨vÑ6Ô6Ñ7Ô7€DàÐõ �D—I’I˜n¨i¸Ñ>Ô>Ñ?Ô?ˆå
ˆ4�y„y�1‚}€}õ ! Ô1°&Ô9‰	ˆˆTØ��˜F™œ a™Ð(Ñ(ˆÝÔ& s°Ð6Ñ6Ô6Ð6Øð ð
 ð 
	>Ý$Ð%7Ô8¸Ô@‰IˆC��Ý�—’‘”ÑÔ Ò"Ð"Ý$Ð%:Ô;¸FÔC‰IˆC�Ø�6‰MˆCˆCØð 	>õ %Ð%:Ô;¸FÔC‰IˆC��å$ _Ô5°fÔ=‰IˆC�ÝÔ$ S¨tÐ4Ñ4Ô4Ð4à�AŒwˆØÐÐÐØ€Kr"   c                 ó”   — | j         rt          | |||¬¦  «        }nt          | ||||¬¦  «        }| |                              ¦   «         S )z®return the default destination for a merge

    (or raise exception about why it can't pick one)

    :action: the action being performed, controls emitted error message
    )rc   rd   re   )rc   rd   rm   re   )r^   ri   rr   r   )r   rc   rd   rm   re   r   s         r    Ú	destmergert   z  si   € ð Ôð 
ÝØ˜¨9À	ð
ñ 
ô 
ˆˆõ  ØØØØ#Øð
ñ 
ô 
ˆð �Œ:�>Š>ÑÔÐr"   c                 ó   — |                       dd¦  «        }|€t          j        |¦  «        }n:|rt          j        ||g¦  «        }n!t          j        t          d¦  «        ¦  «        ‚|r|                     ¦   «         S dS )z0Default base revision to edit for `hg histedit`.s   histedits
   defaultrevNs0   config option histedit.defaultrev can't be empty)	Úconfigr   Úgetstackr   Úrevranger   ÚConfigErrorr   Úmin)r7   r   Údefaultr-   s       r    Údesthisteditr|   ”  s‡   € à�iŠi˜ ]Ñ3Ô3€Gà€ÝŒ~˜dÑ#Ô#ˆˆØ	ð 
ÝÔ  w iÑ0Ô0ˆˆåÔÝÐAÑBÔBñ
ô 
ð 	
ð ð à�xŠx‰zŒzÐàˆ4r"   c                 óZ   — t          j        |¦  «        }|r|                     ¦   «         nd S )N)r   rw   r.   )r7   r   r-   s      r    Ú	stackbaser~   ¨  s(   € ÝŒ>˜$ÑÔ€DØÐ)ˆ4�:Š:‰<Œ<ˆ< TÐ)r"   c                 ó  ‡— t          j        |¦  «        }|j        |j                 Š|                     d‰¦  «        rMˆfd„|D ¦   «         }|r?t          d¦  «        }|                      |t          |¦  «        |j        fz  ¦  «         d S d S d S )Ns   %n and parents()c                 ó    •— g | ]
}‰|k    ¯|‘ŒS r%   r%   )r&   Úbrg   s     €r    r(   z$_statusotherbook.<locals>.<listcomp>²  s   ø€ Ð6Ð6Ð6˜¨°Aª¨�1¨¨¨r"   s&   %i other divergent bookmarks for "%s"
)r   r]   r8   r^   r-   r   Ústatusr_   )r7   r   rf   rh   rg   s       @r    Ú_statusotherbookrƒ   ­  s­   ø€ ÝÔ& tÑ,Ô,€GØŒo˜dÔ2Ô3€GØ‡y‚yÐ$ gÑ.Ô.ð Bà6Ð6Ð6Ð6˜gÐ6Ñ6Ô6ˆØð 	BÝÐ>Ñ?Ô?ˆCØ�IŠI�c�S ™\œ\¨4Ô+?Ð@Ñ@ÑAÔAÐAÐAÐAðBð Bð	Bð 	Br"   c                 óJ  — |j                              ¦   «         }|                     |d¬¦  «        }|                     |¦  «        }|                     d|¦  «        �rD|                     d|¦  «        }|d                              ¦   «         r‚|                      t          d¦  «        |z  ¦  «         |r4|                      t          d¦  «        t          |¦  «        z  ¦  «         d S |                      t          d¦  «        |z  ¦  «         d S |r’|d         }|                      t          d	¦  «        || 	                    ¦   «          
                    d
¦  «        d         fz  ¦  «         |                      t          d¦  «        t          |¦  «        |fz  ¦  «         d S d S d S )NTrD   s   %ln and parents()s   %ln - parents()r)   sC   no open descendant heads on branch "%s", updating to a closed head
sJ   (committing will reopen the head, use 'hg heads .' to see %i other heads)
s%   (committing will reopen branch "%s")
s   updated to "%s: %s"
ó   
rZ   s   %i other heads for branch "%s"
)rk   r=   r?   r-   ÚclosesbranchÚwarnr   r_   r‚   ÚdescriptionÚsplit)r7   r   r@   ÚallheadsrA   Ú
otherheadsrg   s          r    Ú_statusotherbranchheadsrŒ   ¸  sï  € Ø”M×(Ò(Ñ*Ô*€MØ×Ò °dÐÑ;Ô;€HØ×Ò˜]Ñ+Ô+€EØ‡y‚yÐ% xÑ0Ô0ñ (ð —Y’YÐ1°5Ñ9Ô9ˆ
Ø�Œ:×"Ò"Ñ$Ô$ð 	Ø�GŠGÝð3ñô ð  ñ	 ñô ð ð ð Ø—’ÝðEñô õ ˜:‘”ñ	(ñô ð ð ð ð —’ÝÐ?Ñ@Ô@À=ÑPñô ð ð ð ð ð 		Ø˜4”jˆGØ�IŠIÝÐ*Ñ+Ô+Ø˜G×/Ò/Ñ1Ô1×7Ò7¸Ñ>Ô>¸qÔAÐBñCñô ð ð �IŠIÝÐ5Ñ6Ô6Ý�z‘?”? MÐ2ñ3ñô ð ð ð ðK(ð (ð>		ð 		r"   c                 óX   — |j         rt          | |¦  «         dS t          | |¦  «         dS )zPrint message about other headN)r^   rƒ   rŒ   )r7   r   s     r    ÚstatusotherdestsrŽ   ç  s;   € ð
 Ôð *Ý˜˜TÑ"Ô"Ð"Ð"Ð"å  DÑ)Ô)Ð)Ð)Ð)r"   )F)rM   NN)rM   NTN)Úi18nr   Ú r   r   r   r   r   r!   r4   r:   rB   rG   rI   rJ   rL   r`   ri   rr   rt   r|   r~   rƒ   rŒ   rŽ   r%   r"   r    ú<module>r‘      su  ðð Ð Ð Ð Ð Ð Ø 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7ðð ð ðD( ð ( ð ( ðV&ð &ð &ð ð  ð  ð6 ð  ð  ð0 LÐKÐK€ð !Ø Ø Ø0ð	ð Ð ð%ð %ð %ð %ð2 ˆAðBñô ð ˆAÐEÑFÔFð
ð ˆAðAñô ð ˆAÐMÑNÔNð
ðð ð& ˆAðAñô ð ˆAÐEÑFÔFð
ð ˆAð@ñô ð ˆAÐMÑNÔNð
ðð ð& ˆAÐMÑNÔNØˆAÐCÑDÔDð
ð
 ˆAÐLÑMÔMØˆAÐKÑLÔLð
ð	ð 	ð ˆAÐIÑJÔJØˆAÐEÑFÔFð
ð
 ˆAÐHÑIÔIØˆAÐMÑNÔNð
ð	ð 	ð ˆAÐMÑNÔNØˆAÐEÑFÔFð
ð
 ˆAÐLÑMÔMØˆAÐMÑNÔNð
ð	ð 	ð �1Ð(Ñ)Ô)¨4Ð0Ø�AÐ*Ñ+Ô+¨TÐ2ðð ð �1Ð(Ñ)Ô)¨1¨1Ð-GÑ+HÔ+HÐIØ�AÐ*Ñ+Ô+¨Q¨QÐ/IÑ-JÔ-JÐKðð ð ˆAÐ9Ñ:Ô:ØˆAÐCÑDÔDð
ð
 ˆAÐ9Ñ:Ô:ØˆAÐBÑCÔCð
ð	ð 	ð �1Ð+Ñ,Ô,¨dÐ3Ø�AÐ,Ñ-Ô-¨tÐ4ðð ð
 �1ÐAÑBÔBÀDÐIàˆAÐ?Ñ@Ô@ØˆAÐ<Ñ=Ô=ð
ð#ð #ð{dð d€ðNð ð ð ð* HLðFð Fð Fð FðT HLðð ð ð ð4ð ð ð(*ð *ð *ð
Bð Bð Bð,ð ,ð ,ð^*ð *ð *ð *ð *r"   