403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.139
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/proc/self/root/usr/lib/python3/dist-packages/hgext/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/proc/self/root/usr/lib/python3/dist-packages/hgext/__pycache__/relink.cpython-313.pyc
�

6�hQ����SrSSKJr SSKrSSKrSSKJr SSKJrJ	r	J
r
Jr SSKJ
r
Jr 0r\
R "\5rSr\"S/\"S	5\R$S
9SSj5rSrS
rSrg)z-recreates hardlinks between repository clones�)�annotationsN)�_)�error�hg�	registrar�util)�
stringutil�urlutilsships-with-hg-core�relinks[ORIGIN])�helpcategoryc��[[S5(a[[S5(d[R"[	S55eUcSUR
;aSn[R"SX5n[R"URUR5nUR[	S5URRURR4-5 URUR:XaUR[	S55 g[R "URRURR5(d[R"[	S	55eUR#5 UR#5 [%['XP55n[)XeRRURRU5n[+URRURRXp5 SSS5 SSS5 g!,(df   N=f!,(df   g=f)
aorecreate hardlinks between two repositories

When repositories are cloned locally, their data files will be
hardlinked so that they only use the space of a single repository.

Unfortunately, subsequent pulls into either repository will break
hardlinks for any files touched by the new changesets, even if
both repositories end up pulling the same changes.

Similarly, passing --rev to "hg clone" will fail to use any
hardlinks, falling back to a complete copy of the source
repository.

This command lets you recreate those hardlinks and reclaim that
wasted space.

This repository will be relinked to share space with ORIGIN, which
must be on the same local disk. If ORIGIN is omitted, looks for
"default-relink", then "default", in [paths].

Do not attempt any read operations on this repository while the
command is running. (Both repositories will be locked against
writes.)
�samefile�
samedevices*hardlinks are not supported on this systemNsdefault-relinkrsrelinking %s to %s
sthere is nothing to relink
�/source and destination are on different devices)�hasattrrr�Abortr�pathsr
�get_unique_pull_path_objr�
repository�baseui�loc�status�store�path�rootr�lock�sorted�collect�prune�	do_relink)�ui�repo�origin�optsr�src�
candidates�targetss        �./usr/lib/python3/dist-packages/hgext/relink.py�relinkr)$sf��8�4��$�$�G�D�,�,G�,G��k�k�!�I�J�K�K�
�~�+�r�x�x�7�"���+�+�I�r�B�D�
�-�-����T�X�X�
.�C��I�I�a�'�(�C�I�I�N�N�D�J�J�O�O�+L�L�M��y�y�C�H�H��
�	�	�!�3�4�5���?�?�3�9�9�>�>�4�:�:�?�?�;�;��k�k�!�N�O�P�P�	
����c�h�h�j��G�C�,�-�
��
�I�I�N�N�D�J�J�O�O�R�H���#�)�)�.�.�$�*�*�/�/�7�?�!���j�j����s%�I�!A?H1� I�1
H?	�;I�
Ic��[[RR5n/n[USR	55nUS-S-nUR
RnUR
[S5[S5US9nSnUR[S5XE4-5 [R"U5H�up�n
U	R5 U[U5U-Sn[U
5H�nUS	SS
;aM[R"[RRX�55n
[R"U
R5(dMhUS-
nUR![RRX�5U
45 UR#X|S9 M� M� UR%5 UR[S
5[U5-5 U$)Nstip��s
collecting�files��unit�totalrs6tip has %d files, estimated total number of files: %d
���)s.ds.i���items%collected %d candidate storage files
)�len�osr�sep�manifestr�makeprogressrr�walk�sortr�stat�join�S_ISREG�st_mode�append�update�complete)r%r!�seplenr&�liver0�progress�pos�dirpath�dirnames�	filenames�relpath�filename�sts              r(rrVs|��
������
�F��J��s�6�{�#�#�%�&�D�
�1�H��M�E�

�)�)�.�.�C����q��/�a��k���O�H�
�C��I�I�	�
D�E��-�	��)+�����$��9��
�
���#�c�(�V�+�-�.���y�)�H����}�N�2����������g�8�9�B��<�<��
�
�+�+���1�H�C����r�w�w�|�|�G�>��C�D��O�O�C�O�/�*�)5�
�����I�I�a�9�:�S��_�L�M���c��Sn/nUR[S5[S5[U5S9nSnUH�up�US-
n[RRX5n
[RRX(5nU"X�U	5nU(dUR
SU-5 MnURX�R45 URXxS9 M� UR5 UR[S	5[U5-5 U$)
Nc�6�[R"U5n[R"X5(ag[R
"X5(d[R"[S55eURUR:wagU$![a gf=f)NFr)
r6r<�OSErrorrrrrrr�st_size)r%�dstrL�tss    r(�
linkfilter�prune.<locals>.linkfilter{s��	������B��=�=��"�"�����s�(�(��+�+��D�E��
��:�:����#���	���	��	�s�B�
B�Bspruningr-r.rr2�not linkable: %s
r3s,pruned down to %d probably relinkable files
)r9rr5r6rr=�debugr@rQrArBr)
r&r%rRr!rTr'rErF�fnrL�srcpath�tgtrSs
             r(rrzs����"�G����	�*�
�A�h�K�s�:����H��C�����q����'�'�,�,�s�'���g�g�l�l�3�#��
��b�
)����H�H�*�R�/�0������J�J�'�(������%��
�����I�I�	�
:�;�c�'�l�J���NrMc	���SnSnSnSnUR[S5[S5[U5S9nSn	UGH
up�U	S-
n	[RRX
5n[RRX5n
[
US5n[
U
S5nURU5nU(a2URU5nUU:waOURU5nU(aM2U(a'URS	U
-5 SSS5 SSS5 M�SSS5 SSS5 U"X�5 URX�S
9 US-
nX{-
nGM UR5 UR[S5U[ R""U54-5 g!,(df   N�=f!,(df   N�=f![a6nURSU
[R"U54-5 SnAGM�SnAff=f)
Nc���US-n[R"X5 [R"X5 [R
"U5 g![a [R"X!5 ef=f)Ns.bak)r6�renamer�oslinkrP�remove)r%rR�baks   r(�
relinkfile�do_relink.<locals>.relinkfile�sU���G�m��
�	�	�#��	��K�K��!�	�	�	�#����	��I�I�c���	�s�A
�
"A,irs	relinkingr-r.r2�rbrVr3s%s: %s
s!relinked %d files (%s reclaimed)
)r9rr5r6rr=�open�readrWrArP�warnr	�forcebytestrrBrr�	bytecount)r%rR�filesr!ra�CHUNKLEN�relinked�
savedbytesrErF�f�sz�sourcerZ�sfp�dfp�sin�din�insts                   r(r r �s�����H��H��J����	�,��a��k��U����H��C�����q��������c�%���g�g�l�l�3�"��
�&�$�
�3��S�$��3��(�(�8�$�C���h�h�x�(���#�:���h�h�x�(��	�#�����.��2�3��)8�
�
��)8�
�	H��v�#��O�O�C�O�(���M�H���J�)�0
�����I�I�	�
/�0��T�^�^�J�/�
0�	1��+)8���
�
�� �	H��G�G�K�3�
�(?�(?��(E�"F�F�G�G��	H�sI�
F!�A	F�'F�F!�F!�' F2�
F�F!�!
F/	�2
G2�<*G-�-G2)N)�__doc__�
__future__rr6r<�mercurial.i18nr�	mercurialrrrr�mercurial.utilsr	r
�cmdtable�command�
testedwith�CATEGORY_MAINTENANCEr)rrr �rMr(�<module>rs���4�"�	������
��
�
�
�H�
%��
#�
�	�
�r�1�[�>��0L�0L��,@��,@�^!�H&�R0rM

Youez - 2016 - github.com/yon3zu
LinuXploit