403Webshell
Server IP : 74.208.236.52  /  Your IP : 216.73.217.98
Web Server : Apache
System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64
User : u44043973 ( 5404757)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/mercurial/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/mercurial/__pycache__/commit.cpython-313.pyc
�

6�hI���SSKJr SSKJr SSKJrJr SSKJrJ	r	J
r
JrJrJ
r
 SrSSjrSS	jrS
rSSjrSrSS
jrSrg)�)�annotations�)�_)�hex�nullrev)�context�
mergestate�metadata�phases�scmutil�subrepoutilc��URS:XaSnSnX4$URRSS5nUS:gnUS;nX4$)z�return a (changelog, filelog) boolean tuple

changelog: copy related information should be stored in the changeset
filelof:   copy related information should be written in the file revision
�changeset-sidedataT�experimentalscopies.write-to�changeset-only)rs
compatibility)�filecopiesmode�ui�config)�repo�writechangesetcopy�writefilecopymeta�
writecopiestos    �2/usr/lib/python3/dist-packages/mercurial/commit.py�_write_copy_metarsh�����3�3�!�� ���0�0�
������8J�K�
�)�->�>��*�/
�
���0�0�Nc
���UR5nUR5UR5pTUR5nUR	5 URS5n[
XqX#S9up�UR5R5n
U
bSHnU
RUS5 M URRS:Xa[X
U	5n
URR5nURR[!S55 URR#U5 URR%UU	UR'5UUR)5UR)5UUR+5U
5	n
X
R-5nX�RR5:wa*UR/X�RR1U55 UR35U=(a UR35=(d SnnUR5SS	[3U
5UUS
9 [6R8"URU5nX�RR5:H=(a XR;5(+nU(a U(d[<R>"XUU/5 U
sSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)a[Add a new revision to the target repository.
Revision information is passed via the context argument.

ctx.files() should list all files involved in this commit, i.e.
modified/added/removed files. On merge, it may be wider than the
ctx.files() to be committed, since any file nodes derived directly
from p1 or p2 are excluded from the committed ctx.files().

origctx is for convert to work around the problem that bug
fixes to the files list in changesets change hashes. For
convert to be the identity, it can pass an origctx and this
function will use the same files list when it makes sense to
do so.
scommit)�error�origctxN)�p1copies�p2copies�
filesadded�filesremovedsextrascommitting changelog
rspretxncommitT)�throw�node�parent1�parent2) �
unfiltered�p1�p2�user�lock�transaction�_prepare_files�extra�copy�pop�	changelog�_copiesstorage�_extra_with_copies�tiprevr�noter�delayupdate�add�descriptionr$�date�rev�register_changeset�changelogrevisionr�hookr
�newcommitphase�phaser�registernew)r�ctxrrr(r)r*�tr�mn�filesr.�name�oldtip�nr:�xp1�xp2�targetphase�	waspublics                   r�	commitctxrL+s*���?�?��D�
�V�V�X�s�v�v�x���8�8�:�D�	
����d�&�&�y�1�R�"�2�%�I�	���	�	�� � �"�������	�	�$��%�
��>�>�(�(�H�4�&�t�E�:�E����&�&�(��	
�����Q�0�1�2����"�"�2�&��N�N������O�O����G�G�I��G�G�I���H�H�J��

���g�k�k�m���^�^�*�*�,�,��#�#�C���)I�)I�#�)N�O��6�6�8�R�_�B�F�F�H�3��S���	�	����Q����	�	
�"�0�0����#�>���n�n�3�3�5�5�O�d�i�o�o�>O�:O�	��y�
���t��s�e�<��u2�1���1�1�����s%�K�"I
K�/	K�
K	�K�
K*c	�D�UR5nUR5n[U5upg[R"5n[
R
R
U5n	[XIU5n
U
HnURU5 M 0nUR5R5R5(dAU	R5R5Hup�URS5nUcMX�U
'M! UR5(a�U(d�URR!S5 UR5nUR#UR%55 U(a>UR'UR)55 UR+UR-55 OSUR%5(d3U(d,URR!S5 UR5nO[/XX�X�S9nU(aWUR5U:XaCUR%5nUR0R3U5(deUR#U5 U(a>UR5UR755 UR9UR;55 UU4$)Nsoutside-narrow-merge-actionsreusing known manifest
s*reusing manifest from p1 (no file change)
)r)rr(rr
�
ChangingFilesr	�read�
_get_salvaged�
mark_salvaged�narrowmatch�always�	allextras�items�get�manifestnoder�debug�update_touchedrD�update_added�
filesadded�update_removed�filesremoved�_process_files�touched�issubset�update_copies_from_p1�p1copies�update_copies_from_p2�p2copies)rBrArrrr(rrrD�ms�salvaged�s�narrow_files�f�e�actionrC�	origfiless                  rr-r-|s����8�8�:�D�	����B�,<�T�,B�)���"�"�$�E�	�	�	�	#�	#�D�	)�B��T�s�+�H�
��
���A����L��8�8�:�!�!�#�*�*�,�,��L�L�N�(�(�*�D�A��U�U�9�:�F��!�"(�Q��+������,����
�
�1�2�
�
�
�
��
���S�Y�Y�[�)�����s�~�~�/�0�� � ��!1�!1�!3�4��
�Y�Y�[�[�����
�
�D�E�
�_�_�
��
�B�R��
J���7�'�'�)�R�/��M�M�O�	��}�}�%�%�i�0�0�0�0�
���Y�'��
�#�#�C�L�L�N�3�
�#�#�C�L�L�N�3�
�u�9�rc�v�/nURS:HnU(a�[UR55S:�a�UR5(an[	UR5R
55HCnURU5RS5nUS:XdM+XR;dM2URU5 ME U$)zrreturns a list of salvaged files

returns empty list if config option which process salvaged files are
not enabledrr�merge-removal-candidate�yes)
r�len�parents�active�sortedrT�keys�extrasrV�append)rrerArf�copy_sd�fname�
might_removeds       rrPrP�s���
�H��!�!�%:�:�G��3�s�{�{�}�%��)�
�9�9�;�;������ 3� 3� 5�6�� "�	�	�%� 0� 4� 4�5O� P�
� �F�*��|� ����.�	7�
�Orc
�D	�UR5nUR5nUR5n[U5up�UR	5nUR	5nUR5n
U
R
5nUR
5nUR
5n/n[UR55n[U5nURR[S55 [R"U5nUR5UR!5-nUR#UR%55 UR'5 UGH#nURRU"U5S-5 UU;GaIUR)U5nU[*R,:Xa#UR/U5 UR1U5 O�U[*R2:XaXUR5U5 UR1U5 UUnUR7U5S=(d SnUR9UUU5 O�U[*R::XaXUR=U5 UR1U5 UUnUR7U5S=(d SnUR9UUU5 O&[S5n[S5nUR?UUS9eGMxUUnUcUR1U5 GM�UR1U5 [AUUUUUX
U5unnU(aAUS:XaUR5U5 O)US	:XaURCU5 OUR=U5 UR9UUURE55 GM& UVs/sHnUU;dUU;dMUPM nn[KUVs/sH
nUU;dMUPM sn5nUHnUU	M URM5[N:XaURQU5 OB[RRT"XX�U45nUH#nU"U5(aMUR/U5 M% [WUUUU
UURXUU[[U55	n U $![Fa/ URRI[S
5U"U5-5 ef=fs snfs snf)Nscommitting files:
�
rrs/corrupted mergestate, unknown narrow action: %bsrestart the merge)�hint�added�mergedstrouble committing %s!
).rr(r)r�manifestctxr/rO�list�removedrprr5rr�getuipathfn�modifiedr}�extendrt�sortrVr	�CHANGE_REMOVED�mark_removedrv�CHANGE_ADDED�
mark_added�find�set�CHANGE_MODIFIED�mark_touched�Abort�_filecommit�mark_merged�flags�OSError�warnrsr:rr\r
�get_removal_filter�_commit_manifestr_�bool)!rBrArerDrhrrr(r)rr�m1ctx�m2ctx�mctx�m�m1�m2r}r��linkrev�uipathfn�	all_filesri�
narrow_action�fnoder��msgr|�fctx�
is_touched�drop�rfrCs!                                 rr^r^�s����8�8�:�D�	����B�	����B�,<�T�,B�)���N�N��E��N�N��E��:�:�<�D��	�	��A�	����B�	����B�
�E��3�;�;�=�!�G��$�i�G��G�G�L�L��)�*�+��"�"�4�(�H���������,�I�
���\�&�&�(�)�
�N�N��
�������X�a�[�5�(�)����(�,�,�Q�/�M��
� 9� 9�9��"�"�1�%����q�!��*�"9�"9�9�� � ��#����Q���1����
�
�1�
�a�(�/�C�����a���&��*�"<�"<�<��"�"�1�%����Q���1����
�
�1�
�a�(�/�C�����a���&��J�K���-�.���k�k�#�D�k�1�1��	��q�6�D��|����q�!����Q��$/��$��B����%�!��z��!�W�,��(�(��+�#�x�/��)�)�!�,��*�*�1�-����a���
�
��-�Q�\"�8�'�Q�Q�"�W��R��q�'�G�8��g�0�g���a��1�g�0�1�D�
��
�a�D��	�v�v�x�7��
���W�%�
�
(�
(��2�2�.>�
?���A��a�5�5��"�"�1�%��
�
����	�
�
�
�
���\��

�B��I��;�	��G�G�L�L��6�7�(�1�+�E�F��	��
9��0s+�	Q�%BQ�<R�R�!
R�/R�9Rc��UR5nURX�R5n	URX�R5n
SnX�s=:XaUR:XaO OSn[U[R
5(a�UR
5nX�U
4;a�URRSU-5 X�R:wa#URU5UR5:wd2X�R:wa%URU5UR5:waSnX�4$URU5n
0nUR5nSnU(a�X�:wa�URU5nU
nU(aX�R:XdUcX�;aX?nU	nU(aQURRSX�[U54-5 U(aX�S'[U5US'URUp�GOURR[S5X�4-5 O�X�R:Xa
X�Rp�O�X�R:wa�UR5(a1UR!U5RS	5S
:Xa
X�Rp�O|UR5(a1UR!U5RS5S:wa
X�Rp�O6U
R#X�5nU	U;a
X�Rp�OU
U;aURn
S
nURR%SS5(a;UR5(a&UR!U5RS5S:XaSnUR'5nX�R:wd4X�R:Xd%U(dU
R)U	U5(dU(a/UcX�R:XaSnOSnU
R+UX�XIU
5nUU4$X�;a+URU5UR5:waSnU	nUU4$U	nUU4$)a�
commit an individual file as part of a larger transaction

input:

    fctx:       a file context with the content we are trying to commit
    manifest1:  manifest of changeset first parent
    manifest2:  manifest of changeset second parent
    linkrev:    revision number of the changeset being created
    tr:         current transation
    includecopymeta: boolean, set to False to skip storing the copy data
                (only used by the Google specific feature of using
                changeset extra as copy source of truth).
    ms:         mergestate object

output: (filenode, touched)

    filenode: the filenode that should be used by this changeset
    touched:  one of: None (mean untouched), 'added' or 'modified'
Nr}sreusing %s filelog entry
r�s %s: copy %s:%s
scopyscopyrevs8warning: can't find ancestor for '%s' copied from '%s'!
sfilenode-sourcesothersmergedroFrsmerge-track-salvagedrnTr~)�pathrV�nullid�
isinstancer�filectx�filenoderrXr��file�
copysourcerr�rrrru�commonancestorsheads�
configbool�data�cmpr7)rr��	manifest1�	manifest2r�rB�includecopymetarerx�fparent1�fparent2r_r$�flog�meta�cfnamer��cnode�
newfparent�fparentancestors�force_new_node�texts                      rr�r�sc��>
�I�I�K�E��}�}�U�K�K�0�H��}�}�U�K�K�0�H��G��*�t�{�{�*����$����(�(��}�}����h�'�'��G�G�M�M�7�%�?�@��K�K�'��O�O�E�*�d�j�j�l�:��K�K�'��O�O�E�*�d�j�j�l�:�$���=� ��9�9�U��D�
�D�
�_�_�
�F��E�
�&�/�(�
�
�f�%���
���K�K�'�5�=��&�%�-�E�!)�J���G�G�M�M�.�%��U��1L�L�M�� &�W�
�#&�u�:��Z� �!%���j�h��G�G�L�L��+���/�	"�
�
�[�[�	 �%�{�{�(�	�[�[�	 �
�9�9�;�;�2�9�9�U�+�/�/�0B�C�x�O�!)�;�;�h�
�Y�Y�[�[�R�Y�Y�u�-�1�1�)�<��F�!)�;�;�h� $�8�8��L���+�+�%-�{�{�(��-�-��;�;���N�	
�����?�,C�D�D��I�I�K�K��I�I�e�� � �!;�<��F����9�9�;�D��K�K���{�{�"���8�8�H�d�#�#���?��;�;�&�$��"������t��H�E���'�>��
�	�	���� 6�$�*�*�,� F������'�>�����'�>�rc	
���UR5n	Sn
UR5nUR5nUR5n
U
R	5nU(d4URU[R"X�R555n
U(d"U
(aU	RRS5 U(dU
(aqU	RR[S55 U(aSnOU	R5nURUUUR5UR5UUUS9nU$U	RRS5 UR5nU$)acmake a new manifest entry (or reuse a new one)

given an initialised manifest context and precomputed list of
- files: files affected by the commit
- added: new entries in the manifest
- drop:  entries present in parents but absent of this one

Create a new manifest revision, reuse existing ones if possible.

Return the nodeid of the manifest revision.
NsInot reusing manifest (no file change in changelog, but manifest differs)
scommitting manifest
)�matchs;reusing manifest from p1 (listed files actually unchanged)
)rr(r)rrO�diffr�
matchfilesrDrrXr5rrR�writerW)rBr�rAr��manifestrDr}r��has_some_narrow_actionr�mdr(r)r�r�r�rCs                 rr�r��s��,�8�8�:�D�	
�B�

����B�	����B��N�N��E�	����B���W�W�X�w�1�1�$�	�	��D�
E���R����
�
�
2�	
�
�������Q�/�0�1�"��E��$�$�&�E�
�Z�Z����O�O���O�O������
���I�	
���
�
�O�	
��_�_�
��
�Irc�6�URnURnURnURn[	UR
5n[
U5S(d,U=(d SnU=(d SnU=(d SnU=(d SnX4XV4nUc[SU55(a0nUb[R"X#5nX1S'Ub[R"X$5nXAS'Ub[R"X%5nXQS'Ub[R"X&5nXaS'U$)z2encode copy information into a `extra` dictionnaryrNc3�(# �UHoSLv� M
 g7f)N�)�.0�xs  r�	<genexpr>�%_extra_with_copies.<locals>.<genexpr>s���B�M�q�d�]�M�s�rr r!r")�copied_from_p1�copied_from_p2r}r�rsr_r�anyr
�encodecopies�encodefileindices)rr.rDrbrdr[r]�
extrasentriess        rr3r3s���#�#�H��#�#�H����J��=�=�L��5�=�=�!�E��D�!�!�$�
�#�t���#�t���'�4�
�#�+�t���
�@�M��}��B�M�B�B�B������(�(��9��%�k�����(�(��9��%�k�����/�/��B�
�)�m�����1�1�%�F��!-�o���Lr)FN)NF)F)�
__future__r�i18nrr$rr�rr	r
rrr
rrLr-rPr^r�r�r3r�rr�<module>r�sR��#���
��1�&N�b(�V�"^�Bb�\!�G�T r

Youez - 2016 - github.com/yon3zu
LinuXploit