403Webshell
Server IP : 217.160.0.36  /  Your IP : 216.73.216.190
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u90690018 ( 2806576)
PHP Version : 8.4.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/hgext/git/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/hgext/git/__pycache__/__init__.cpython-313.pyc
�

6�h�.��2�SrSSKJr SSKrSSKJr SSKJrJrJ	r	J
r
JrJrJ
rJrJrJr SSKJrJrJrJr Sr0r\R2"\5r\"S	S
SS9 \R4r"S
S5rSr"SS5rSrSr Sr!"SS5r"SSjr#Sr$Sr%Sr&g)z�grant Mercurial the ability to operate on Git repositories. (EXPERIMENTAL)

This is currently super experimental. It probably will consume your
firstborn a la Rumpelstiltskin, etc.
�)�annotationsN)�_)
�commands�error�
extensions�	localrepo�pycompat�	registrar�requirements�scmutil�store�util�)�dirstate�gitlog�gitutil�indexsships-with-hg-core�git�log-index-cache-missF)�defaultc�`�\rSrSrSr\RS5rSrSr	Sr
SrSS	jrS
r
g)�gitstore�4c	��U"U5UlURUlURRUl[R
"UR5Ul[R"5R[RR[RRUSS555Ul
SUlSUlg)N�..�.gitc��g�N�)�args�kwargss  �4/usr/lib/python3/dist-packages/hgext/git/__init__.py�<lambda>�#gitstore.__init__.<locals>.<lambda>@s���c��grr)�xs r"r#r$As��r%)�vfs�opener�base�pathr
�	_calcmode�
createmoder�
get_pygit2�
Repository�os�normpath�join�git�_progress_factory�_logfn)�selfr+�vfstypes   r"�__init__�gitstore.__init__5s����4�=����h�h����H�H�M�M��	��/�/�$�(�(�3����%�%�'�2�2��G�G���R�W�W�\�\�$��w�?�@�
���">���$��r%c�n�[R"URURUR5$r)r�	get_indexr3r5r4�r6s r"�_db�gitstore._dbCs%��
���t�x�x����d�6L�6L�M�Mr%c�B�US;a*[RRURS5$US:Xa*[RRURS5$US;a,[RRURSSU5$[SU-5e)	z�Fake store.join method for git repositories.

For the most part, store.join is used for @storecache
decorators to invalidate caches when various files
change. We'll map the ones we care about, and ignore the rest.
)s
00changelog.is00manifest.isHEADslockshgit-bogus-lock)sobsstores
phaserootss
narrowspecs	bookmarksr�.hgsNeed to pick file for %s.)r0r+r2�NotImplementedError)r6�fs  r"r2�
gitstore.joinJs���
�3�3��7�7�<�<��	�	�7�3�3�
�'�\�
�7�7�<�<��	�	�+=�>�>�
�K�
K��7�7�<�<��	�	�5�&�!�<�<�!�">��"B�C�Cr%c�X�[R"URUR5$r)r�	changelogr3r=)r6�
trypending�concurrencycheckers   r"rE�gitstore.changelog_s��������$�(�(�3�3r%c�X�[R"URUR5$r)r�manifestlogr3r=)r6�repo�storenarrowmatchs   r"rJ�gitstore.manifestlogcs���!�!�$�(�(�D�H�H�5�5r%c��grrr<s r"�invalidatecaches�gitstore.invalidatecachesgs��r%Nc��grr)r6�trs  r"�write�gitstore.writejs��r%)r5r4r-r3r)r+r(r)�__name__�
__module__�__qualname__�__firstlineno__r8r�
propertycacher=r2rErJrOrS�__static_attributes__rr%r"rr4s=��%�
���N��N�D�*4�6�
�
r%rc�d�SU;a�[RR[RRUSS55(d[R
"[
S55e[R"5c[R
"[
S55e[X#5$U"XU5$)NrrrsIrepository specified git format in .hg/requires but has no .git directorysDthe git extension requires the Python pygit2 library to be installed)
r0r+�existsr2r�Abortrrr.r)�origr�
storebasepathr7s    r"�
_makestorer`os���
����w�w�~�~�b�g�g�l�l�=�%��I�J�J��+�+��>���
�����'��+�+��6���
��
�/�/���W�5�5r%c��\rSrSrSrSrg)�gitfilestorage�c��USSS:XaUSSn[R"URRURRU5$)Nrr�/)r�filelogr
r3r=)r6r+s  r"�file�gitfilestorage.file�s>����!�9������8�D��~�~�d�j�j�n�n�d�j�j�n�n�d�C�Cr%rN)rUrVrWrXrgrZrr%r"rbrb�s��Dr%rbc�T�USn[U[5(a[$U"X40UD6$)Nr
)�
isinstancerrb)r^r�featuresr!r
s     r"�_makefilestoragerl�s.���7�O�E��%��"�"�����1�&�1�1r%c��[RRUS5n[RRU5(aUR	[S55 Oz[R"[RRUS55 [[RRUSSS5S5nURS5 SSS5 [[RRUS5S	5nURS
5 SSS5 g!,(df   NS=f!,(df   g=f)Nr@s$git repo already initialized for hg
rsinfosexclude�abs
.hg
srequires�wbsgit
)	r0r+r2r\�warnr�mkdir�openrS)�uir+�dothg�excluderBs     r"�_setupdothgrv�s����G�G�L�L��v�&�E�	�w�w�~�~�e���
����:�;�<�
��������d�F�+�,�
��G�G�L�L��w���<�d�
�
��M�M�*�%�
�
�b�g�g�l�l�5�+�.��	5��	�����
6�	5�	
�
��
6�	5�s�D�D0�
D-�0
D>zrefs/heads/c��\rSrSrSrSrSrSrSSjr\	S5r
\
RS	5r
S
rSr
SrS
rSSjrSrg)�
gitbmstore�c�F�XlSUlURSUlg)NT�HEAD)�gitrepo�_aclean�
references�_active)r6r|s  r"r8�gitbmstore.__init__�s ��������)�)�&�1��r%c�j�[[R"U5-URR;$r)�_BMS_PREFIXr	�fsdecoder|r~)r6�names  r"�__contains__�gitbmstore.__contains__�s,���(�+�+�D�1�1�
�\�\�
$�
$�%�	%r%c#��# �URR5HGnUR[5(dM[R
"U[
[5S5v� MI g7fr)r|�listall_references�
startswithr�r	�fsencode�len)r6�rs  r"�__iter__�gitbmstore.__iter__�sI������0�0�2�A��|�|�K�(�(��'�'��#�k�*:�*<�(=�>�>�3�s
�6A)�-A)c��URR[[R"U5-R5RR$r)r|r~r�r	r��peel�id�raw)r6�ks  r"�__getitem__�gitbmstore.__getitem__�s9���L�L�#�#�K�(�2C�2C�A�2F�$F�G�
�T�V�
�R���	
r%Nc�p�X;aX$U$![R"5Ra Us$f=fr)rr.�InvalidSpecError)r6r�rs   r"�get�gitbmstore.get�s;��	��y��w���N���!�!�#�4�4�	��N�	�s�
�
�%5�5c��URRSn[UR[5(a$URR[5(dg[R"UR[[5S5$)Nr{)
r|r~rj�target�strr�r�r	r�r�)r6�hs  r"�active�gitbmstore.active�sg���L�L�#�#�F�+���!�(�(�C�(�(����0C�0C��1
�1
��� � ����#�k�*:�*<�!=�>�>r%c��SnUb[[R"U5-nUb'X RR;a[SU-5eX lSUlg)Nsbookmark %s does not exist!F)r�r	r�r|r~�AssertionErrorrr})r6�mark�githeads   r"r�r��sT������!�H�$5�$5�d�$;�;�G���7�,�,�2I�2I�#I� �!?�$�!F�G�G�����r%c��UR(agURRRSURS5 SUlg)Nr{T)r}r|r~�createrr<s r"�_writeactive�gitbmstore._writeactive�s3���<�<�������&�&�v�t�|�|�T�B���r%c	�p�/nURR5H�nUR[5(dMURRUR5RRU:waM`UR[R"U[[5S55 M� U$r)r|r�r�r�r~r�r�r��appendr	r�r�)r6�noder��refs    r"�names�gitbmstore.names�s������<�<�2�2�4�C��>�>�+�.�.���|�|�&�&�s�+�0�0�2�5�5�9�9�T�A��
�H�H�X�&�&�s�3�{�+;�+=�'>�?�@�5��r%c��US:Xa<UR(aUR$[R"[S55eU$)N�.sno active bookmark)r�r�RepoLookupErrorr)r6�bnames  r"�
expandname�gitbmstore.expandname�s6���D�=��{�{��{�{�"��'�'��*?�(@�A�A��r%c�L�UH�upEUcBURRR[[R
"U5-5 MJURRR
[[R
"U5-[R"U5SS9 M� g)z$Apply a list of changes to bookmarksNT)�force)	r|r~�deleter�r	r�r�r�	togitnode)r6rKrR�changesr�r�s      r"�applychanges�gitbmstore.applychanges�s���"�J�D��|����'�'�.�.��(�"3�"3�D�"9�9�����'�'�.�.��(�"3�"3�D�"9�9��%�%�d�+��/��
"r%c�p�[[R"U5-nURRSnX@RR;aZU(dSU(a*URRUU:XaX5:Xa/$[
e[R"[S5U-5e[U5S:�aaU(dZ[R"URU5nU(a1URRR[S5U-5 /$![Ra SnNRf=f)Nr{s.bookmark '%s' already exists (use -f to force)�Fs[bookmark %s matches a changeset hash
(did you leave a -r out of an 'hg bookmark' command?)
)r�r	r�r|r~rArr]rr�r�isrevsymbol�_repo�LookupErrorrsrp)r6r�r�r�r��cur�
shadowhashs       r"�
checkconflict�gitbmstore.checkconflicts���� 1� 1�$� 7�7���l�l�%�%�f�-���l�l�-�-�-�e���<�<�*�*�7�3�v�=�&�-��I�)�)��+�+��C�D�t�K��
��t�9�q�=��
#�$�0�0����T�B�
���
�
�
�
�"�"��'��
����	���$�$�
#�"�
�
#�s�!D�D5�4D5)r}rr|r)FN)rUrVrWrXr8r�r�r�r��propertyr��setterr�r�r�r�r�rZrr%r"rxrx�s`��2�
%�
?�

���?��?��]�]��������$r%rxc��URSS5(a"[R"U5n[X5 gU"U4SU0UD6$)Nr3Fr�dest)r�r�abspathrv)r^rsr��optsr+s     r"�initr�!sA���x�x��u����|�|�D�!���B�����&��&��&�&r%c�r^�UR5(a�[UR[5(a�URmUR
RURlURSS5(a%UR
RURl
"U4SjST5nX!lU$)Nrrc�8>�\rSrSrSrU4Sjr\S5rSrg)�reposetup.<locals>.gitlocalrepoi1c��[RnXR;n[R"UR
URURRU5$r)	�requirementsmod�DIRSTATE_V2_REQUIREMENTrr�gitdirstatersr(r
r3)r6�v2_req�use_dirstate_v2s   r"�
_makedirstate�-reposetup.<locals>.gitlocalrepo._makedirstate2sL��(�@�@��"(�,=�,=�"=�� �+�+��G�G��H�H��J�J�N�N�#�	�r%c�x>�TR"U/UQ70UD6nUcgURR[R"U5R
RnURRRRU5 URRRR5 U$r)
�commitr
r3rr��treer�r�	read_treerS)r6r r!�ret�tidr^s     �r"r��&reposetup.<locals>.gitlocalrepo.commit>s�����k�k�$�8��8��8���;� ��j�j�n�n�W�%6�%6�s�%;�<�A�A�D�D���
�
���$�$�.�.�s�3��
�
���$�$�*�*�,��
r%c�@�[URR5$r)rxr
r3r<s r"�
_bookmarks�*reposetup.<locals>.gitlocalrepo._bookmarksLs��!�$�*�*�.�.�1�1r%rN)	rUrVrWrXr�r�r�r�rZ)r^s�r"�gitlocalrepor�1s!���

�
��
2��
2r%r�)�localrjr
r�	__class__rs�makeprogressr4�
configboolrpr5)rsrKr�r^s   @r"�	reposetupr�*s{����z�z�|�|�
�4�:�:�x�8�8��~�~��'+�w�w�';�';��
�
�$�
�=�=��!8�9�9� $�����D�J�J��	2�4�	2�>&���Kr%c��US1-ng)Nrr)rs�	supporteds  r"�
_featuresetupr�Ts��
�&���Ir%c�H�[R"[S[5 [R"[S[5 [R
"[RS[5nUSRS/5 [RR[5 g)N�	makestore�makefilestoragesinitr)r%rNs'setup up a git repository instead of hg)
r�wrapfunctionrr`rl�wrapcommandr�tabler��extend�featuresetupfuncs�addr�)rs�entrys  r"�extsetupr�Ysl�����I�{�J�?����I�'8�:J�K��"�"�8�>�>�7�D�A�E�	�!�H�O�O�	H�I�����#�#�M�2r%)r�)'�__doc__�
__future__rr0�mercurial.i18nr�	mercurialrrrrr	r
rr�rr
r�rrrr�
testedwith�configtable�
configitem�pygit2_version�
getversionrr`rbrlrvr�rxr�r�r�r�rr%r"�<module>r�s����#�	�������#�
���
�
!�
!�+�
.�
�
�
�����
#�
#�
�8
�8
�v6�.D�D�2����x�x�v'�'�T�
3r%

Youez - 2016 - github.com/yon3zu
LinuXploit