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/dulwich/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

mEdg"��b	�SrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKJ	r	 SSK
JrJr SSK
JrJr SSKJr SSKJrJr SS	KJr SS
KJr SSKJrJrJrJr SSKJrJ r J!r!J"r"J#r#J$r$ SS
K%J&r& SSK'J(r( SSK)J*r* SSK+J,r, SSK-J.r.J/r/J0r0J1r1J2r2 SSK3J4r4J5r5 SSK6J7r7J8r8J9r9J:r:J;r; SSK<J=r=J>r>J?r?J@r@JArAJBrB SSKCJDrDJErE SSKFJGrG SSKHJIrIJJrJ SSKKJLrLJMrMJNrNJOrO SSKPJQrQJRrRJSrS SSKTJUrUJVrVJWrWJXrX SSKTJYrZ \	"SS5r["SS\5r\\]"\R�S S5=(d \\"5r_\]"\R�S S5=(d \\"5raS!rb"S"S#\c5rd"S$S%\d5re"S&S'\d5rf"S(S)\d5rgS*rhS+riS,rj\S-5rkS.rl\b4S/jrm"S0S1\d5rnS�S3jroS\_\a4S�S4jjrS�S�S6jjrYS�S�S8jjrpS�S�S9jjrqS�S:jrrS�S;jrsS�S7SS<.S=\\t4S>jjjruSS7S\aSS?SSSSS4S?\\vS@\\wSA\\\v\x4SB\\SC\\w4
SDjjryS�SEjrzSFr{S�S�SGjjr|S�S�SHjjr}\}r~\b4SIjr\b4SJjr�\R�4S�SKjjr�\R�4S�SLjjr�\R�4S�SMjjr�\R�4S�SNjjr�\R�4S�SOjjr�\R�4S�SPjjr�SQr�SRr�S5S\R�SS7S74S�SSjjr�S5S\R�\b4S�STjjr�\_4S�SUjjr\R�4S�SVjjr�SW\vS2\v4SXjr�S�S�SYjjr�S�SZjr�S[r�SSS7S\SSS7\b4S�S]jjr�\R�4S^jr�S�S_jr�S�S�S`jjr�S�Sa\RSb\\\v\x4S2\�\\v\v44Scjjr�SS\_\aS74S�Sdjjr�SS\_\aSeS7SS4S�Sfjjr�S�Sgjr�S�Shjr�S�Sijr�Sjr�S�S�Skjjr�S�S�Sljjr�S�S2\w4Smjjr�S�S2\w4Snjjr�Sor�Spr�S�Sqjr�S�S�Srjjr�Ssr�Str�Sur�S\R�\aSSS7S7S74Svjr�S�Sa\\R\v4Sw\\\v\x4S2\�\�\x\x\x44Sxjjr�S�SB\\4Syjjr�S�Szjr�S�S�S{jjr�S|\R�S7S74S�S}jjr�S~\\x\v4SW\\x\v4S2S4Sjr�Sa\RS~\\x\v4S2S4S�jr�S�S�jr�S�S�S�jjr�S�S�\vS�\xS2S4S�jjr�S�r�S�S�\\x\v4S�\tS2S4S�jjr�S�r�S�r�S�r�S�S�jr�S�S�jr�S�S�jr�S�r�S�r�S�S�jr�S�S�jr�S�r�g)�a~Simple wrapper that provides porcelain-like functions on top of Dulwich.

Currently implemented:
 * archive
 * add
 * branch{_create,_delete,_list}
 * check-ignore
 * checkout_branch
 * clone
 * commit
 * commit-tree
 * daemon
 * describe
 * diff-tree
 * fetch
 * for-each-ref
 * init
 * ls-files
 * ls-remote
 * ls-tree
 * pull
 * push
 * rm
 * remote{_add}
 * receive-pack
 * reset
 * submodule_add
 * submodule_init
 * submodule_list
 * rev-list
 * tag{_create,_delete,_list}
 * upload-pack
 * update-server-info
 * status
 * symbolic-ref

These functions are meant to behave similarly to the git subcommands.
Differences in behaviour are considered bugs.

Note: one of the consequences of this is that paths tend to be
interpreted relative to the current working directory rather than relative
to the repository root.

Functions should generally accept both unicode strings and bytestrings
�N)�
namedtuple)�closing�contextmanager)�BytesIO�	RawIOBase)�Path)�Optional�Union�)�
tar_stream)�get_transport_and_path)�Config�
ConfigFile�
StackedConfig�read_submodules)�
CHANGE_ADD�CHANGE_COPY�
CHANGE_DELETE�
CHANGE_MODIFY�
CHANGE_RENAME�RENAME_CHANGE_TYPES)�
SendPackError)�ensure_dir_exists)�can_fast_forward)�IgnoreFilterManager)�_fs_to_tree_path�blob_from_path_and_stat�build_file_from_blob�get_unstaged_changes�index_entry_from_stat)�iter_tree_contents�tree_lookup_path)�Commit�Tag�format_timezone�parse_timezone�pretty_format_tree_entry)�parse_commit�parse_object�	parse_ref�parse_reftuples�
parse_tree�to_bytes)�write_pack_from_container�write_pack_index)�write_tree_diff)�ZERO_SHA�Protocol)�LOCAL_BRANCH_PREFIX�LOCAL_REMOTE_PREFIX�LOCAL_TAG_PREFIX�_import_remote_refs)�BaseRepo�Repo�get_user_identity)�FileSystemBackend�ReceivePackHandler�TCPGitServer�UploadPackHandler)�update_server_info�	GitStatuszstaged unstaged untrackedc�H�\rSrSrSrS
SSjjrS\4SjrSSjrSSjr	S	r
g)�
NoneStream�z;Fallback if stdout or stderr are unavailable, does nothing.�returnNc��g�N�)�self�sizes  �3/usr/lib/python3/dist-packages/dulwich/porcelain.py�read�NoneStream.read�����c��g)NrMrF)rGs rI�readall�NoneStream.readall�s��rMc��grErF�rG�bs  rI�readinto�NoneStream.readinto�rLrMc��grErFrRs  rI�write�NoneStream.write�rLrMrF)����rCN)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rJ�bytesrOrTrW�__static_attributes__rFrMrIrArA�s ��E������rMrA�bufferzutf-8c�0^�\rSrSrSrSU4SjjrSrU=r$)�Error�zPorcelain-based error.c�$>�[TU]U5 grE)�super�__init__)rG�msg�	__class__s  �rIrh�Error.__init__�s���
����rMrFrZ)r[r\r]r^r_rhra�
__classcell__)rjs@rIrdrd�s��� ��rMrdc��\rSrSrSrSrg)�RemoteExists�z&Raised when the remote already exists.rFN�r[r\r]r^r_rarFrMrIrnrn�s��0rMrnc��\rSrSrSrSrg)�TimezoneFormatError�zBRaised when the timezone cannot be determined from a given string.rFNrprFrMrIrrrr�s��LrMrrc��\rSrSrSrSrg)�
CheckoutError�z.Indicates that a checkout cannot be performed.rFNrprFrMrIruru�s��8rMruc�<�SSKnURS5nURX 5(a6[UR	S5SR[55nUS$SSKnURRU5nU(aUS$URS5nURX`5nSnU(aKUR5up�nU[U
5S--
nU(aU[U5S	--
nU	S
:XaU*nU$UnU$[U5e![a N�f=f)a�Parse given string and attempt to return a timezone offset.

Different formats are considered in the following order:

 - Git internal format: <unix timestamp> <timezone offset>
 - RFC 2822: e.g. Mon, 20 Nov 1995 19:12:08 -0500
 - ISO 8601: e.g. 1995-11-20T19:12:08-0500

Args:
  tz_str: datetime string
Returns: Timezone offset as integer
Raises:
  TimezoneFormatError: if timezone information cannot be extracted
rNz^[0-9]+ [+-][0-9]{,4}$� r�	z5[0-9] ?([+-])([0-9]{2})(?::(?=[0-9]{2}))?([0-9]{2})?$i�<�-)�re�compile�matchr&�split�encode�DEFAULT_ENCODING�
ValueError�email.utils�utils�parsedate_tz�search�groups�intrr)�tz_strr|�internal_format_pattern�tz_internal�email�rfc_2822�iso_8601_patternr~�
total_secs�sign�hours�minutess            rI�parse_timezone_formatr��s*���!�j�j�)A�B��	�x�x�'�0�0�	�(����c�):�1�)=�)D�)D�EU�)V�W�K��q�>�!�
��{�{�'�'��/�H����{���z�z�?���
�I�I�&�/�E��J��$�|�|�~���W��c�%�j�4�'�'�
���#�g�,��+�+�J�$(�C�K�j�[�
���6@�
����f�
%�%��;�	��	�s�4D�
D�Dc�V�[R"5Rn[RRS5(a[
[RS5nOUn[RRS5(a[
[RS5nX4$UnX4$)z�Retrieve local timezone as described in
https://raw.githubusercontent.com/git/git/v2.3.0/Documentation/date-formats.txt
Returns: A tuple containing author timezone, committer timezone.
�GIT_AUTHOR_DATE�GIT_COMMITTER_DATE)�time�	localtime�	tm_gmtoff�os�environ�getr�)�local_timezone�author_timezone�commit_timezones   rI�get_user_timezonesr��s���
�^�^�%�/�/�N�	�z�z�~�~�'�(�(�/��
�
�;L�0M�N��(��	�z�z�~�~�*�+�+�/��
�
�;O�0P�Q���+�+�)���+�+rMc�F�[U[5(aU$[U5$)zEOpen an argument that can be a repository or a path for a repository.)�
isinstancer7r8��path_or_repos rI�	open_repor�s ���,��)�)������rMc#�# �Uv� g7f)zBContext manager that has the same api as closing but does nothing.NrF)�objs rI�_noop_context_managerr�s����I�s�c�j�[U[5(a[U5$[[	U55$)z�Open an argument that can be a repository or a path for a repository.
returns a context manager that will close the repo on exit if the argument
is a path, else does nothing if the argument is a repo.
)r�r7r�rr8r�s rI�open_repo_closingr�s,��
�,��)�)�$�\�2�2��4��%�&�&rMc���[RS:Xa[RR	U5n[U5nUR
5n[RS:Xa[RR	U5n[U5R
5nURU5n[RS:XaB[U5R[RRS5RU5$[!U5$![aP UR5(a9URR
5nXQR-RU5nN�ef=f)aConvert a path to a path usable in an index, e.g. bytes and relative to
the repository root.

Args:
  repopath: Repository path, absolute or relative to the cwd
  path: A path, absolute or relative to the cwd
Returns: A path formatted for use in e.g. an index
�win32�/)�sys�platformr��path�abspathr�resolve�relative_tor��
is_symlink�parent�name�str�replace�sepr�r`)�repopathr��
tree_encoding�
resolved_path�relpathr�s      rI�path_to_tree_pathr�s���|�|�w���w�w���t�$����:�D��L�L�N�M�
�|�|�w���7�7�?�?�8�,���H�~�%�%�'�H�	��+�+�H�5���|�|�w���7�|�#�#�B�G�G�K�K��5�<�<�]�K�K��W�~������?�?����[�[�(�(�*�F��	�	�)�6�6�x�@�G���s�D�AE(�&E(c�"�\rSrSrSrSSjrSrg)�DivergedBranchesiAz8Branches have diverged and fast-forward is not possible.Nc��XlX lgrE��current_sha�new_sha)rGr�r�s   rIrh�DivergedBranches.__init__Ds
��&���rMr�rZ)r[r\r]r^r_rhrarFrMrIr�r�As
��B�rMr�rCc�f�[XU5nU(d[X5eg![a SnN!f=f)z�Check if updating to a sha can be done with fast forwarding.

Args:
  repo: Repository object
  current_sha: Current head sha
  new_sha: New head sha
FN)r�KeyErrorr�)�repor�r��cans    rI�check_divergedr�Is>����t�'�:����{�4�4��������s�!�0�0c��UcSn[U5n[XA5n[URURURUR
5HnUR
U5 M SSS5 g!,(df   g=f)z�Create an archive.

Args:
  repo: Path of repository for which to generate an archive.
  committish: Commit SHA1 or ref to use
  outstream: Output stream (defaults to stdout)
  errstream: Error stream (defaults to stderr)
N�HEAD)r�r(r�object_store�tree�commit_timerW)r��
committish�	outstream�	errstream�repo_obj�c�chunks       rI�archiver�Ysl�����
�	�4�	 �H���.����!�!�8�#8�#8����#@�!�-�-�
�E�
�O�O�E�"�
�
!�	 �	 �s�AA6�6
B�.c�d�[U5n[U5 SSS5 g!,(df   g=f)zQUpdate server info files for a repository.

Args:
  repo: path to the repository
N)r��server_update_server_info�r��rs  rIr>r>qs"��
�4�	 �A�!�!�$�
!�	 �	 �s�!�
/Fc��[U5n[U5nU(d,XCRR5;a[	SUS35eURRSU5 SSS5 g!,(df   g=f)z�Set git symbolic ref into HEAD.

Args:
  repo: path to the repository
  ref_name: short name of the new ref
  force: force settings without checking if it exists in refs/heads
zfatal: ref `z` is not a ref�HEADN)r��_make_branch_ref�refs�keysrd�set_symbolic_ref)r��ref_name�forcer��ref_paths     rI�symbolic_refr�{sa��
�4�	 �H�#�H�-������);�);�)=�=��,�x�j��?�@�@��
�
�&�&�w��9�	
!�	 �	 �s�AA0�0
A>c��[U5nURnUVs0sH3nU(dUR[5(dM&US:wdM.XCU_M5 nnUR	U5 SSS5 gs snf!,(df   g=f)Nr�)r�r��
startswithr5�add_packed_refs)r��allr�r��ref�packed_refss      rI�	pack_refsr��s���	�4�	 �H��}�}���
����s�~�~�&6�7�
�=@�G�^�
�C�c��N��	�
�	
���[�)�
!�	 ��
�
!�	 �s(�A8�%A3�A3�	A3�A8�3A8�8
Bc	��[USS5(aURU=(d [5n[USS5(aURU=(d [5n[USS5(aURU=(d [5n[5n	UcU	SnUcU	Sn[	U5n
U
RUUUUUUU[
U[[45(aUOSS9sSSS5 $!,(df   g=f)a�Create a new commit.

Args:
  repo: Path to repository
  message: Optional commit message
  author: Optional author name and email
  author_timezone: Author timestamp timezone
  committer: Optional committer name and email
  commit_timezone: Commit timestamp timezone
  no_verify: Skip pre-commit and commit-msg hooks
  signoff: GPG Sign the commit (bool, defaults to False,
    pass True to use default GPG key,
    pass a str containing Key ID to use a specific GPG key)
Returns: SHA1 of the new commit
r�Nrr)�message�authorr��	committerr��encoding�	no_verifyr�)	�getattrr�r�r�r��	do_commitr�r��bool)r�r�r�r�r�r�r�r��signoffr�r�s           rI�commitr��s���6�w��$�'�'��.�.��!=�-=�>���v�x��&�&����x�;�+;�<���y�(�D�)�)��$�$�X�%A�1A�B�	�'�)�N���(��+����(��+��	�4�	 �A��{�{���+��+���&�w��d��<�<��$��	
�
!�	 �	 �s�63C3�3
Dc�n�[U5nURX!XCS9sSSS5 $!,(df   g=f)z�Create a new commit object.

Args:
  repo: Path to repository
  tree: An existing tree object
  author: Optional author name and email
  committer: Optional committer name and email
)r�r�r�r�N)r�r�)r�r�r�r�r�r�s      rI�commit_treer��s0��
�4�	 �A��{�{��)��
�
!�	 �	 �s�&�
4)�bare�symlinksr�c���[RRU5(d[R"U5 U(a[R
"U5$[R"XS9$)z�Create a new git repository.

Args:
  path: Path to repository.
  bare: Whether to create a bare repository.
  symlinks: Whether to create actual symlinks (defaults to autodetect)
Returns: A Repo instance
)r�)r�r��exists�mkdirr8�	init_bare�init)r�r�r�s   rIrr�sC���7�7�>�>�$���
�������~�~�d�#�#��y�y��1�1rM�origin�depth�branch�config�protocol_versionc��UbSSKn
U
RS[SS9 U	c[R"5n	UcU(+nU(aU(a[S5eUcUR
S5Sn[U[5(aUR[5n[RRU5(+n[U4S	U	0UD6unnU
(aU
RS
5n
URUUUUUUUUR UU
US9$)aClone a local or remote git repository.

Args:
  source: Path or URL for source repository
  target: Path to target repository (optional)
  bare: Whether or not to create a bare repository
  checkout: Whether or not to check-out HEAD after cloning
  errstream: Optional stream to write progress to
  outstream: Optional stream to write progress to (deprecated)
  origin: Name of remote from the repository used to clone
  depth: Depth to fetch at
  branch: Optional branch or tag to be used as HEAD in the new repository
    instead of the cloned repository's HEAD.
  config: Configuration to use
  refspecs: refspecs to fetch. Can be a bytestring, a string, or a list of
    bytestring/string.
  filter_spec: A git-rev-list-style object filter spec, as an ASCII string.
    Only used if the server supports the Git protocol-v2 'filter'
    feature, and ignored otherwise.
  protocol_version: desired Git protocol version. By default the highest
    mutually supported protocol version will be used.
Returns: The new repository
Nrz7outstream= has been deprecated in favour of errstream=.�)�
stacklevelz"checkout and bare are incompatibler�rYr�ascii)	r�r�r�checkoutr�progressr�filter_specr)�warnings�warn�DeprecationWarningr�defaultrdrr�r�r�r�r�r�r�r
�clonerW)�source�targetr�r
r�r�rrrrrr�kwargsr
r��clientr�s                 rIrr�s
��L����
�
�E���	�	
��~��&�&�(�����8���D��8�9�9�
�~����c�"�2�&���&�#������/�0�������v�&�&�E�+�F�L�6�L�V�L�N�V�T��!�(�(��1���<�<����
���������)���rMc�X�[5n[U5n[UR5R	5n[
R"U5nU(d`[[[[[R"55R	55[U5UR555n/n[U[5(dU/nUH�n[U5n[UR	5RU55n	UR5(a [RR!U	S5n	UR#U	5(aUR%U	5 M�UR'U	5 M� UR)U5 SSS5 Xb4$!,(df   WU4$=f)a�Add files to the staging area.

Args:
  repo: Repository for the files
  paths: Paths to add.  No value passed stages all modified files.
Returns: Tuple with set of added files and ignored files

If the repository contains ignored directories, the returned set will
contain the path to an ignored directory (with trailing slash). Individual
files within ignored directories will not be returned.
�N)�setr�rr�r�r�	from_repo�list�get_untracked_pathsr�r��getcwd�
open_indexr�r��is_dir�join�
is_ignored�add�append�stage)
r��paths�ignoredr��	repo_path�ignore_manager�relpaths�pr�r�s
          rIr!r!>sD���e�G�	�4�	 �A�����L�(�(�*�	�,�6�6�q�9����#���R�Y�Y�[�)�1�1�3�4��	�N��L�L�N���E����%��&�&��G�E��A���7�D��$�,�,�.�4�4�Y�?�@�G��{�{�}�}��'�'�,�,�w��3���(�(��1�1����G�$���O�O�G�$��	
�����1
!�2
���3
!�	 �2
�g���s�E7F�
F)c��[RRU5[RR-n[RRU5[RR-nUR	U5$)z�Check whether subdir is parentdir or a subdir of parentdir.

If parentdir or subdir is a relative path, it will be disamgibuated
relative to the pwd.
)r�r��realpathr�r�)�subdir�	parentdir�
parentdir_abs�
subdir_abss    rI�
_is_subdirr0gsW���G�G�$�$�Y�/�"�'�'�+�+�=�M����!�!�&�)�B�G�G�K�K�7�J�� � ��/�/rMc�J�Uc[R"5n[U5n[XR5(d[S5eUR
5nURSSS5 UR5n[R"U5n[XR5n[[U55H�upxU(aC[[R"U55S:Hn	U	(a[R "U5 MMMO[#URU5n
X�;n[RR%XrR5nUR'U5n
U(aM�U
(aM�[R("U5 M� SSS5 g!,(df   g=f)z�Remove any untracked files from the target directory recursively.

Equivalent to running ``git clean -fd`` in target_dir.

Args:
  repo: Repository where the files may be tracked
  target_dir: Directory to clean - current directory if None
Nz,target_dir must be in the repo's working dir)scleansrequireForceTr)r�rr�r0r�rd�get_config_stack�get_booleanrrr�_walk_working_dir_paths�reversedr�len�listdir�rmdirr�r�r �remove)r��
target_dirr�r�indexr'�paths_in_wd�apr�is_empty�ip�
is_tracked�rpr s              rI�cleanrBss+�����Y�Y�[�
�	�4�	 �A��*�f�f�-�-��F�G�G��#�#�%�����;���>�
�����,�6�6�q�9��-�j�&�&�A��#�4��#4�5�J�B���r�z�z�"�~�.�!�3����H�H�R�L��'�q�v�v�r�2���[�
��W�W�_�_�R���0��+�6�6�r�:�
�!�z�*�*��I�I�b�M�6�!
!�	 �	 �s�EF�(F�1F�
F"c�T�[U5nUR5nUGH	n[R"[RRU55n[
URU5nXGRnU(d�[R"U5n
[Xj5n[URX3R5RU5SnUR U:waX�:wa[SU35eX�:wa[SU35e[R""U5 XG	GM UR'5 SSS5 g![an	[US35U	eSn	A	ff=f![a SnN�f=f![$a N_f=f![$a Nof=f!,(df   g=f)zeRemove files from the staging area.

Args:
  repo: Repository for the files
  paths: Paths to remove
z did not match any filesNrz?file has staged content differing from both the file and head: zfile has staged changes: )r�rr��fsencoder�r�r��shar�rd�lstatrr"�__getitem__�headr��idr9�OSErrorrW)
r�r$�cachedr�r;r)�	full_path�	tree_path�	index_sha�exc�st�blob�
committed_shas
             rIr9r9�s���
�4�	 �A�������A����B�G�G�O�O�A�$6�7�I�)�!�&�&�!�4�I�
E�!�,�0�0�	��-����)�,�B�-�6�y�E��1�,<� !�
�
�q����{�/?�/?��-��-!�M� �7�7�i�/�I�4N�"'�!@�@A�s�!D�#��
%�5�"'�*C�A�3�(G�"H�H��	�	�)�,�� �G�H	���
�M
!�	 ���
E��q�c�!9�:�;��D��
E��$ (�1�,0�M�1��#����������
!�	 �s��A F�-E�;F�F	�E9�&4E'�A#F�
E$�E�E$�$F�'E6�3F�5E6�6F�9
F�F�F�F�	
F�F�F�F�
F'c��UR(aURRS5nOUnURUS5$)Nr	r�)r��decode�r��contents�default_encodingr�s    rI�
commit_decoderX�s3��
����?�?�)�)�'�2��#���?�?�8�Y�/�/rMc��UR(aURRS5nOUnURU5$)Nr	)r�rTr�rUs    rI�
commit_encoderZ�s1��
����?�?�)�)�'�2��#���?�?�8�$�$rMc���URS5 URSURRS5-S-5 [UR5S:�aRURSSRURSSVs/sHo3RS5PM sn5-S-5 URS	U"UR5-S-5 URUR:wa'URS
U"UR5-S-5 [R"URUR-5n[R"SU5n[UR5RS5nURSU-S
-U-S-5 URS5 URU"UR5S-5 URS5 gs snf)zsWrite a human-readable commit log entry.

Args:
  commit: A `Commit` object
  outstream: A stream file to write to
z3--------------------------------------------------
zcommit: r	�
rzmerge: z...NzAuthor: zCommitter: �%a %b %d %Y %H:%M:%S�Date:   rx)rWrIrTr6�parentsrr�r�r��gmtime�author_timer��strftimer%r�)r�rTr�r��
time_tuple�time_str�timezone_strs       rI�print_commitrf�s����O�O�O�$�
�O�O�J����!1�!1�'�!:�:�T�A�B�
�6�>�>��Q�������j�j�V�^�^�A�B�5G�H�5G��(�(�7�+�5G�H�I�
J��
�	
�
�O�O�J���
�
�!6�6��=�>�
�}�}��(�(�(����
��v�/?�/?�(@�@�4�G�H����V�/�/�&�2H�2H�H�I�J��}�}�3�Z�@�H�"�6�#9�#9�:�A�A�'�J�L�
�O�O�J��)�C�/�,�>��E�F�
�O�O�D��
�O�O�F�6�>�>�*�T�1�2�
�O�O�D���Is�G!c���URSU"UR5-S-5 [R"URUR
-5n[R"SU5n[UR
5RS5nURSU-S-U-S-5 URS5 URU"UR55 URS5 g)z�Write a human-readable tag.

Args:
  tag: A `Tag` object
  decode: Function for decoding bytes to unicode string
  outstream: A stream to write to
zTagger: r\r]r	r^rxN)
rW�taggerr�r`�tag_time�tag_timezonerbr%rTr�)�tagrTr�rcrdres      rI�	print_tagrls����O�O�J���
�
�!3�3�d�:�;����S�\�\�C�,<�,<�<�=�J��}�}�3�Z�@�H�"�3�#3�#3�4�;�;�G�D�L�
�O�O�J��)�C�/�,�>��E�F�
�O�O�D��
�O�O�F�3�;�;�'�(�
�O�O�D�rMc�F�URU"UR55 g)z�Write a blob to a stream.

Args:
  repo: A `Repo` object
  blob: A `Blob` object
  decode: Function for decoding bytes to unicode string
  outstream: A stream file to write to
N)rW�data)r�rQrTr�s    rI�	show_blobros���O�O�F�4�9�9�%�&rMc�@�[XUS9 UR(aXRSnURnOSn[5n[	X`R
XQR5 UR
S5 UR[XR555 g)z�Show a commit to a stream.

Args:
  repo: A `Repo` object
  commit: A `Commit` object
  decode: Function for decoding bytes to unicode string
  outstream: Stream to write to
)rTr�rN)
rfr_r�rr0r��seekrWrX�getvalue)r�r�rTr��
parent_commit�	base_tree�
diffstreams       rI�show_commitrvsw����)�<�
�~�~��^�^�A�.�/�
�!�&�&�	��	���J��J� 1� 1�9�k�k�J��O�O�A��
�O�O�M�&�*=�*=�*?�@�ArMc�J�UHnURU"U5S-5 M g)z�Print a tree to a stream.

Args:
  repo: A `Repo` object
  tree: A `Tree` object
  decode: Function for decoding bytes to unicode string
  outstream: Stream to write to
r\N)rW)r�r�rTr��ns     rI�	show_treery3s#��������q�	�D�(�)�rMc�T�[XU5 [XURSX#5 g)z�Print a tag to a stream.

Args:
  repo: A `Repo` object
  tag: A `Tag` object
  decode: Function for decoding bytes to unicode string
  outstream: Stream to write to
rN)rl�show_object�object)r�rkrTr�s    rI�show_tagr}@s%���c�9�%���3�:�:�a�=�)�6�=rMc�X�[[[[S.UR"XX#5$)N)streesblobscommitstag)ryrorvr}�	type_name)r�r�rTr�s    rIr{r{Ms2������	�

�m�m��
��3�3rMc#�|# �UGH1nU(dM
[U[5(aUSnUR[:XaURR
nSnSnO�UR[:XaURR
nSnSnO�UR[:XaURR
nSnSnOmUR[;aYURR
nURR
nUR[:XaSnOUR[:XaSnW<SW<S	W<S	3v� GM4 g
7f)z5Print a simple status summary, listing changed files.rr�A�D�M�R�C�8�20N)r�r�typer�newr�r�oldrrrr)�changes�change�path1�path2�kinds     rI�print_name_statusr�Vs���������f�d�#�#��A�Y�F��;�;�*�$��J�J�O�O�E��E��D�
�[�[�M�
)��J�J�O�O�E��E��D�
�[�[�M�
)��J�J�O�O�E��E��D�
�[�[�/�
/��J�J�O�O�E��J�J�O�O�E��{�{�m�+�������+���"&��u�5�5�1�s�D:D<c	�L^
�[U5nURX1US9nUHcm
U
4Sjn[T
RX�5 U(dM(UR	[T
R
55V	s/sHo�S-PM	 sn	5 Me SSS5 gs sn	f!,(df   g=f)a1Write commit logs.

Args:
  repo: Path to repository
  paths: Optional set of specific paths to print entries for
  outstream: Stream to write log output to
  reverse: Reverse order in which entries are printed
  name_status: Print name status
  max_entries: Optional maximum number of entries to display
)�max_entriesr$�reversec�0>�[TRU5$rE)rXr�)�x�entrys �rIrT�log.<locals>.decode�s���$�U�\�\�1�5�5rMr\N)r��
get_walkerrfr��
writelinesr�r�)r�r$r�r�r��name_statusr��walkerrT�liner�s          @rI�logr�ss����$
�4�	 �A����+�G��T���E�
6�
����v�9��{��$�$�->�u�}�}��-O�P�-O�T�D�[�-O�P���
!�	 ��Q�
!�	 �s#�7B�&B�.B�<B�B�
B#c�^^�UcS/n[U[5(dU/n[U5nUH>n[XE5m[T[5(aUU4SjnOU4Sjn[UTXb5 M@ SSS5 g!,(df   g=f)z�Print the changes in a commit.

Args:
  repo: Path to repository
  objects: Objects to show (defaults to [HEAD])
  outstream: Stream to write to
  default_encoding: Default encoding to use if none is set in the
    commit
Nr�c�>�[TUT5$rE)rX)r�rW�os ��rIrT�show.<locals>.decode�s���(��A�/?�@�@rMc�&>�URT5$rE�rT)r�rWs �rIrTr��s����8�8�$4�5�5rM)r�rr�r)r#r{)r��objectsr�rWr��	objectishrTr�s   `   @rI�showr��su������(���g�t�$�$��)��	�4�	 �A� �I��Q�*�A��!�V�$�$�A�
6�
��1�f�0�!�
!�	 �	 �s�AA:�:
Bc�z�[U5n[X4RX5 SSS5 g!,(df   g=f)z�Compares the content and mode of blobs found via two tree objects.

Args:
  repo: Path to repository
  old_tree: Id of old tree
  new_tree: Id of new tree
  outstream: Stream to write to
N)r�r0r�)r��old_tree�new_treer�r�s     rI�	diff_treer��s(��
�4�	 �A��	�>�>�8�F�
!�	 �	 �s�,�
:c��[U5nURUVs/sHoCURPM snS9H+nURURRS-5 M- SSS5 gs snf!,(df   g=f)z�Lists commit objects in reverse chronological order.

Args:
  repo: Path to repository
  commits: Commits over which to iterate
  outstream: Stream to write to
)�include�
N)r�r�rIrWr�)r��commitsr�r�r�r�s      rI�rev_listr��sf��
�4�	 �A��\�\�G�*D�G�q�Q�4�7�7�G�*D�\�E�E��O�O�E�L�L�O�O�e�3�4�F�
!�	 ��*D�
!�	 �s�A6�A1
�4A6�1A6�6
B�urlc�f�URSS5SnURS5(aUSSnU$)Nr�rrY�.git���)�rsplit�endswith)r�r�s  rI�_canonical_partr��s6���:�:�c�1��b�!�D��}�}�V����C�R�y���KrMc��[U5nUc3[RR[	U5UR5nUcUn[RRURS5n[R"U5nURSU4SU5 URSU4SU5 UR5 SSS5 g![a [
5nXVlN_f=f!,(df   g=f)z�Add a new submodule.

Args:
  repo: Path to repository
  url: URL of repository to add as submodule
  path: Path where submodule should live
N�.gitmodules�	submoduler�r�)r�r�r�r�r�rr�	from_path�FileNotFoundErrorr�
write_to_path)r�r�r�r�r��gitmodules_pathrs       rI�
submodule_addr��s���
�4�	 �A��<��7�7�?�?�?�3�#7����@�D��<��D��'�'�,�,�q�v�v�}�=��	*��)�)�/�:�F�	�
�
�K��&��s�3��
�
�K��&���5�����
!�	 ��!�	*��\�F�)�K�	*��
!�	 �s0�A&C,�3C�	:C,�C)�&C,�(C)�)C,�,
C:c�`�[U5nUR5n[RR	URS5n[U5H0upEnUR
SU4SS5 UR
SU4SU5 M2 UR5 SSS5 g!,(df   g=f)z9Initialize submodules.

Args:
  repo: Path to repository
r�s	submodulesactiveT�urlN)r��
get_configr�r�rrrr�)r�r�rr�r�r�r�s       rI�submodule_initr��s���
�4�	 �A�������'�'�,�,�q�v�v�}�=��.��?�O�D�t��J�J��d�+�Y��=��J�J��d�+�V�S�9� @�	����

!�	 �	 �s�B
B�
B-c#�# �SSKJn [U5nU"URX"R	5R
5Hup4X4R
[54v� M SSS5 g!,(df   g=f7f)z3List submodules.

Args:
  repo: Path to repository
r)�iter_cached_submodulesN)r�r�r�r�rHr�rTr�)r�r�r�r�rEs     rI�submodule_listr�sX���2�	�4�	 �A�/�����&�&�(��@P�@P�Q�I�D��
�
�#3�4�4�4�R�
!�	 �	 �s�A=�AA,�#	A=�,
A:�6A=r�c
���[U5n
[X�5nU(Ga[5nUc[U
R	55nX,lUSR
U	5-UlXl[U5UR4UlUc[[R"55nXllUc[5SnO [!U["5(a[%U5nX|lU(a(UR)[!U["5(aUOS5 U
R*R-U5 URn
OURn
X�R.[1U5'SSS5 g!,(df   g=f)aCreates a tag in git via dulwich calls.

Args:
  repo: Path to repository
  tag: tag string
  author: tag author (optional, if annotated is set)
  message: tag message (optional)
  annotated: whether to create an annotated tag
  objectish: object the tag should point at, defaults to HEAD
  tag_time: Optional time for annotated tag
  tag_timezone: Optional timezone for annotated tag
  sign: GPG Sign the tag (bool, defaults to False,
    pass True to use default GPG key,
    pass a str containing Key ID to use a specific GPG key)
Nr\r)r�r)r$r9r2rhr�r�r�r�rIr|r�r�rir�r�r�r&rjr�r��
add_objectr��
_make_tag_ref)r�rkr�r��	annotatedr�rirjr�r�r�r|�tag_obj�tag_ids              rI�
tag_creater�s��6
�4�	 �A��a�+����e�G��~�*�1�+=�+=�+?�@��#�N�%����H�(=�=�G�O��L�"�6�l�F�I�I�6�G�N����t�y�y�{�+��'���#�1�3�A�6���L�#�.�.�-�l�;��#/� �����Z��c�%:�%:�T��E�
�N�N�%�%�g�.��Z�Z�F��Y�Y�F�%+���}�S�!�"�9
!�	 �	 �s�EE(�(
E6c��[U5n[URRS55nUsSSS5 $!,(df   g=f)zVList all tags.

Args:
  repo: Path to repository
  outstream: Stream to write tags to
s	refs/tagsN)r��sortedr��as_dict)r�r�r��tagss    rI�tag_listr�Hs4��
�4�	 �A��a�f�f�n�n�\�2�3���
!�	 �	 �s	�&<�
A
c��[U5n[U[5(aU/nO'[U[5(aUnO[	SU<35eUHnUR
[
U5	M SSS5 g!,(df   g=f)zNRemove a tag.

Args:
  repo: Path to repository
  name: Name of tag to remove
zUnexpected tag name type N)r�r�r`rrdr�r��r�r�r��namess    rI�
tag_deleter�Tsn��
�4�	 �A��d�E�"�"��F�E�
��d�
#�
#��E��3�D�8�<�=�=��D����}�T�*�+��
!�	 �	 �s�A A5�5
Bc��US:wa[S5e[U5n[X25nURUR5 SSS5 g!,(df   g=f)z�Reset current HEAD to the specified state.

Args:
  repo: Path to repository
  mode: Mode ("hard", "soft", "mixed")
  treeish: Treeish to reset to
�hardz)hard is the only mode currently supportedN)rdr�r,�reset_indexrI)r��mode�treeishr�r�s     rI�resetr�fsG���v�~��?�@�@�	�4�	 �A��!�%��	�
�
�d�g�g��
!�	 �	 �s�'A
�
Ar��remote_locationc�2�UR5nUc[U5n[U[5(aUR	5nOUnSU4nSnURU5(a#UR
5nURUS5nOSnXSR
54$)N�remoter�)r��get_branch_remoter�r�r��has_sectionrTr�)r�r�r�encoded_location�section�remote_names      rI�get_remote_repor�vs����_�_�
�F���+�D�1���/�3�'�'�*�1�1�3��*���*�+�G�!%�K�
���'�"�"�&�-�-�/��!�:�:�g�u�5�����0�0�2�3�3rMc	�d^^^^^�[U5mTc[T5/m[TU5upq[U4STR	50UD6up�/m0mUUUUU4Sjn
[USS5=(d [nURU	5nURU	U
TRURS9nURSURU5-S-5 UR =(d 0R#5HBup�Ub&URSX�RU54-5 M.URSU-5 MD Ub[%TR&UT5 SSS5 g![a5n
[SU-S	-U
RS
R5-5U
eSn
A
ff=f!,(df   g=f)
aRemote push with dulwich via dulwich.client.

Args:
  repo: Path to repository
  remote_location: Location of the remote
  refspecs: Refs to push to remote
  outstream: A stream file to write output
  errstream: A stream file to write errors
  force: Force overwriting refs
Nrc	�>>�TR[TRUT	TS95 0nTHLup#nUc[X'ST
U'MTRUnU(dX0;a[
TXU5 XQU'UT
U'MN U$![an[SUS35UeSnAff=f)N�r�z
No valid ref z in local repository)�extendr+r�r1r�rdr�)r��new_refs�lh�rh�	force_ref�localsharOr�r��refspecs�remote_changed_refs�
selected_refss       �����rI�update_refs�push.<locals>.update_refs�s����� � ������x�u�!U�V��H�%2�!��	��:�#+�H�L�.2�'��+�W�#$�6�6�"�:��%���&�q�$�(�H�=�#+�R�L�.6�'��+�&3��O��
$�W�#�m�B�4�7K�$L�M�SV�V��W�s�A=�=
B�B�Br�)�generate_pack_datarsPush to s
 successful.
zPush to z failed -> rsPush of ref %s failed: %s
sRef %s updated
)r��
active_branchr�r
r2r�r��get_url�	send_packr�rWr�rrd�argsrT�
ref_status�itemsr6r�)r�r�r�r�r�r�rr�rr�r��err_encoding�resultrOr��errorr�r�r�s  `  `          @@@rI�pushr��s����(
�4�	 �A���%�a�(�)�H�)8��O�)L�&��.��
�$%�$6�$6�$8�
�<B�
����
� ��	�	�&�y�*�d�;�O�?O�� �.�.��.��	��%�%���#$�#7�#7�"���	&��F�
�O�O��o�4�4�\�B�B�EV�V�
�"�,�,�2��9�9�;�J�C�� ����2�c�<�<��;U�5V�V����� 3�c� 9�:�
<��"������5H�I�w
!�	 ��R�	���_�,�}�<�s�x�x��{�?Q�?Q�?S�S���
��	��S
!�	 �s1�A5F!�&E�-B)F!�
F�)0F�F�F!�!
F/Tc	
�6^^^^�[U5m[TU5up�/mTcS/mUUUU4Sjn[U4STR50U	D6up�U(aUR	S5nURU
TURUUUS9nTHqunnnU(dGUTR;a7[TTRRU5SURU5 URUTRU'Ms T(aURTS	STS'TSRnTRUS
9 U
b [TRX�R5 SSS5 g![anU(ae[S5UeSnAff=f!,(df   g=f)a_Pull from remote via dulwich.client.

Args:
  repo: Path to repository
  remote_location: Location of the remote
  refspecs: refspecs to fetch. Can be a bytestring, a string, or a list of
    bytestring/string.
  outstream: A stream file to write to output
  errstream: A stream file to write to errors
  filter_spec: A git-rev-list-style object filter spec, as an ASCII string.
    Only used if the server supports the Git protocol-v2 'filter'
    feature, and ignored otherwise.
  protocol_version: desired Git protocol version. By default the highest
    mutually supported protocol version will be used
Nr�c	�>�T	R[UTRTTS95 T	VVVs/sHup4nXTR;dMXPM  snnn$s snnnf)Nr�)r�r+r�r�)
�remote_refsr�rr�r�r�r�r�r�r�s
      ����rI�determine_wants�pull.<locals>.determine_wantssa���� � ���Q�V�V�X�U�K�
�
,9��+8�'�R�Y��?�!�.�.�8� ���+8��
��s�A�
Arr	)rrrrrzmerge is not yet supportedr)r�)r�r�r
r2r��fetchrWr�r��followr��NotImplementedErrorr�r�r6)r�r�r�r�r��fast_forwardr�rrrr�rrr��fetch_resultr�r�r�rOr�r�r�s  `   `             @@rI�pullr�s����8
�4�	 �A�)8��O�)L�&���
����y�H�	�	�.��
�$%�$6�$6�$8�
�<B�
����%�,�,�W�5�K��|�|��
��_�_�+�#�-�
$�
��"/��B��I���q�v�v��Y�"�1�a�f�f�m�m�B�&7��&:�L�<M�<M�b�<Q�R�&�*�*�2�.�A�F�F�2�J�"/��%�*�*�=��+;�A�+>�?�A�g�J���z����	�
�
�4�
� ��"������5F�5F�G�a
!�	 ��F(�Y�#��1�2N�O�UX�X��	Y��G
!�	 �s1�BF
�%6E$�BF
�$
F�.F�F�F
�

Fc	��[U5n[U5nUR5nUR5nURn[[
XSRU55n[URURUU(+US9n	[RS:Xa:U	V
s/sH,o�R[RRS5PM. nn
O[U	5n[XHU5sSSS5 $s sn
f!,(df   g=f)a�Returns staged, unstaged, and untracked changes relative to the HEAD.

Args:
  repo: Path to repository or repository object
  ignored: Whether to include ignored files in untracked
  untracked_files: How to handle untracked files, defaults to "all":
      "no": do not return untracked files
      "all": include all files in untracked directories
    Using untracked_files="no" can be faster than "all" when the worktreee
      contains many untracked files/directories.

Note: untracked_files="normal" (git's default) is not implemented.

Returns: GitStatus tuple,
    staged -  dict with lists of staged paths (diff index/HEAD)
    unstaged -  list of unstaged paths (diff index/working-tree)
    untracked - list of untracked, un-ignored & non-.git paths
)�exclude_ignored�untracked_filesr�r�N)r��get_tree_changesr�get_blob_normalizer�checkin_normalizerrr�rr�r�r�r�r�r?)r�r%rr��tracked_changesr;�
normalizer�filter_callback�unstaged_changes�untracked_pathsr��untracked_changess            rI�statusr/s���&
�4�	 �A�*�1�-��������*�*�,�
�$�6�6��� 4�U�F�F�O� T�U��-�
�F�F�
�F�F�� '�K�+�
���<�<�7�"�;J�!�;J�4���R�W�W�[�[�#�.�?�
�!��!%�_� 5����<M�N�/
!�	 ��"!�#
!�	 �s�BC<�!3C7�C<�7C<�<
D
c#�^# �[R"U5H�up4nSU;aURS5 X1:waM$SU;aURS5 X1:waMBX0:waUS4v� UH(n[RR	X65nUS4v� M* U(dM�U"X45USS&M� g7f)aGet path, is_dir for files in working dir from frompath.

Args:
  frompath: Path to begin walk
  basepath: Path to compare to
  prune_dirnames: Optional callback to prune dirnames during os.walk
    dirnames will be set to result of prune_dirnames(dirpath, dirnames)
r�TFN)r��walkr9r�r)�frompath�basepath�prune_dirnames�dirpath�dirnames�	filenames�filename�filepaths        rIr4r4\s����)+����(9�$��9��X���O�O�F�#��"���Y�����V�$��"�����4�-��!�H��w�w�|�|�G�6�H��E�/�!�"��>�(��;�H�Q�K�)):�s�BB-�B-c#�,^^^^
^# �US:Xa[S5eUS;a[S5eUS:Xag[T5n[R"U5m
SSS5 /mUUUU
U4Sjn[TTUS9H�upxU(aM[
TU5n	X�;dM!T(a6T
R[RRUT55(aM^[RRUT5v� M� TShv�N g!,(df   N�=fN7f)	a"Get untracked paths.

Args:
  frompath: Path to walk
  basepath: Path to compare to
  index: Index to check against
  exclude_ignored: Whether to exclude ignored paths
  untracked_files: How to handle untracked files:
    - "no": return an empty list
    - "all": return all files in untracked directories
    - "normal": Not implemented

Note: ignored directories will never be walked for performance reasons.
  If exclude_ignored is False, only the path to an ignored directory will
  be yielded, no files inside the directory will be returned
�normalznormal is not yet supported)�nor�z(untracked_files must be one of (no, all)r"Nc	��>�[[U5S-
SS5H�n[RR	XU5n[RR	[RRUT5S5nTR
U5(dM{T(dMT	R[RR	[RRUT5S55 X	M� U$)NrrYr)�ranger6r�r�rr�r r")
rr�ir�r?rr
rr'�ignored_dirss
     �����rIr�+get_untracked_paths.<locals>.prune_dirnames�s�����s�8�}�q�(�"�b�1�A��7�7�<�<��!��5�D������b�g�g�o�o�d�H�=�r�B�B��(�(��,�,�&� �'�'������R�W�W�_�_�T�8�%D�b�I���K�2��rM)r)rr�r�rrr4r�r r�r�r�)rrr;r
rr�rr=rr?r'r&s`` `      @@rIrr|s�����&�(�"�!�"?�@�@��m�+��C�D�D��$���	�8�	$��,�6�6�q�9��
%��L�
�
�.��(�>��
���v�"�8�R�0�B���&�n�.G�.G��G�G�O�O�B��1�/�/��'�'�/�/�"�h�7�7�����9
%�	$��8�s:�5D�D�)D�D�9D�+D�;D�<D�
D�Dc��[U5nUR5n///S.nUSRnUR	UR
U5H�nUSS(dUSR
USS5 M,USS(dUSR
USS5 MUUSSUSS:XaUSR
USS5 M�[S	5e UsSSS5 $![a SnN�f=f!,(df   g=f)
z�Return add/delete/modify changes to tree by comparing index to HEAD.

Args:
  repo: repo path or object
Returns: dict with lists for each type of change
)r!�delete�modifyr�Nrr!rr)r*zgit mv ops not yet supported)r�rr�r��changes_from_treer�r"r)r�r�r;r�tree_idr�s      rIrr�s��
�4�	 �A���������
��
	���j�o�o�G��-�-�a�n�n�g�F�F��!�9�Q�<���&�-�-�f�Q�i��l�;��A�Y�q�\���)�0�0����1��>����1�����1��-���)�0�0����1��>�)�*H�I�I�G��3
!�	 ���	��G�	��
!�	 �s.�C<�C*�B-C<�*C9�6C<�8C9�9C<�<
D
c�R�[U5n[X1U5nUR5 g)z�Run a daemon serving Git requests over TCP/IP.

Args:
  path: Path to the directory to serve.
  address: Optional address to listen on (defaults to ::)
  port: Optional port to listen on (defaults to TCP_GIT_PORT)
N)r:r<�
serve_forever)r��address�port�backend�servers     rI�daemonr3�s&�� ��%�G�
�'�D�
1�F�
���rMc�v�SSKJnJnJnJn [U5nU"U5nU"UUUUUS9n	U	R
5 g)z�Run a daemon serving Git requests over HTTP.

Args:
  path: Path to the directory to serve
  address: Optional address to listen on (defaults to ::)
  port: Optional port to listen on (defaults to 80)
r)�WSGIRequestHandlerLogger�WSGIServerLogger�make_server�make_wsgi_chain)�
handler_class�server_classN)�webr5r6r7r8r:r.)
r�r/r0r5r6r7r8r1�appr2s
          rI�
web_daemonr=�sI���� ��%�G�
�'�
"�C�
����.�%��F����rMc�^�Tc)[[RS[R5mUc)[[RS[R5n[R
R
U5n[U5nSU4Sjjn[URU5n[X0/U5nUR5 g)z�Upload a pack file after negotiating its contents using smart protocol.

Args:
  path: Path to the repository
  inf: Input stream to communicate with client
  outf: Output stream to communicate with client
rbc�H>�TRU5 TR5 grE�rW�flush�rn�outfs �rI�send_fn�upload_pack.<locals>.send_fn�����
�
�4���
�
�rMrrZ)r�r��stdout�stdinr�r��
expanduserr:r2rJr=�handle�r��infrCr1rD�proto�handlers  `    rI�upload_packrOs�����|��s�z�z�8�S�Z�Z�8��
�{��c�i�i��3�9�9�5��
�7�7���d�#�D���%�G��
�S�X�X�w�'�E�����7�G��N�N��rMc�^�Tc)[[RS[R5mUc)[[RS[R5n[R
R
U5n[U5nSU4Sjjn[URU5n[X0/U5nUR5 g)z�Receive a pack file after negotiating its contents using smart protocol.

Args:
  path: Path to the repository
  inf: Input stream to communicate with client
  outf: Output stream to communicate with client
rbc�H>�TRU5 TR5 grEr@rBs �rIrD�receive_pack.<locals>.send_fn,rFrMrrZ)r�r�rGrHr�r�rIr:r2rJr;rJrKs  `    rI�receive_packrSs�����|��s�z�z�8�S�Z�Z�8��
�{��c�i�i��3�9�9�5��
�7�7���d�#�D���%�G��
�S�X�X�w�'�E� ��&�%�8�G��N�N��rMc�b�[USS5(aUR[5n[U-$�Nr�)r�r�r�r3�r�s rIr�r�7s+���t�X�t�$�$��{�{�+�,����%�%rMc�b�[USS5(aUR[5n[U-$rU)r�r�r�r5rVs rIr�r�=s+���t�X�t�$�$��{�{�+�,���d�"�"rMc���[U5n[U[5(aUnOU/nUHnUR[	U5	M SSS5 g!,(df   g=f)zRDelete a branch.

Args:
  repo: Path to the repository
  name: Name of the branch
N)r�r�rr�r�r�s    rI�
branch_deleterYCsO��
�4�	 �A��d�D�!�!��E��F�E��D����'��-�.��
!�	 �	 �s�;A�
Ac��[U5nUcSn[XB5n[U5nSUR[5-nU(a'UR
R
USURUS9 O8UR
RXeRUS9(d[SUS35eSSS5 g!,(df   g=f)z�Create a branch.

Args:
  repo: Path to the repository
  name: Name of the new branch
  objectish: Target object to point new branch at (defaults to HEAD)
  force: Force creation of branch, even if it already exists
Nr�sbranch: Created from )r�zBranch with name z already exists.)
r�r)r�r�r�r��
set_if_equalsrI�
add_if_newrd)r�r�r�r�r�r|�refname�ref_messages        rI�
branch_creater_Ss���
�4�	 �A����I��a�+��"�4�(��.��1A�1A�BR�1S�S���
�F�F� � ��$��	�	�;� �O��6�6�$�$�W�i�i��$�M��/��v�5E�F�G�G�
!�	 �	 �s�BB/�/
B=c��[U5nURR[S9sSSS5 $!,(df   g=f)z9List all branches.

Args:
  repo: Path to the repository
��baseN)r�r�r�r3r�s  rI�branch_listrcis-��
�4�	 �A��v�v�{�{� 3�{�4�
!�	 �	 �s	�3�
Ac��[U5nURRS5SSnUR[5(d[U5eU[
[5SsSSS5 $!,(df   g=f)z�Return the active branch in the repository, if any.

Args:
  repo: Repository to open
Returns:
  branch name
Raises:
  KeyError: if the repository does not have a working tree
  IndexError: if HEAD is floating
r�rrN)r�r�rr�r3r�r6)r�r��
active_refs   rIr�r�ssd��
�4�	 �A��V�V�]�]�7�+�A�.�q�1�
��$�$�%8�9�9��Z�(�(��#�1�2�4�5�	
!�	 �	 �s�AA.�.
A<c���[U5n[UR5nUR5nUR	SU4S5nSSS5 U$![
a SnNf=f!,(df   W$=f)z�Return the active branch's remote name, if any.

Args:
  repo: Repository to open
Returns:
  remote name
Raises:
  KeyError: if the repository does not have a working tree
sbranchr�soriginN)r�r�r�r�r�r�)r�r��branch_namerr�s     rIr�r��su��
�4�	 �A�#�A�F�F�+�������	$� �*�*�i��%=�y�I�K�	
!�����	$�#�K�	$��
!�	 ���s(�&A#�A�A �A#�A � A#�#
A2c	
�^�[U5n
[X�5up�UcSUR[5-n[	U4SU
R50U	D6up�UR
X�URUS9nUb"[U
RUURUUUS9 SSS5 U$!,(df   W$=f)a�Fetch objects from a remote server.

Args:
  repo: Path to the repository
  remote_location: String identifying a remote server
  outstream: Output stream (defaults to stdout)
  errstream: Error stream (defaults to stderr)
  message: Reflog message (defaults to b"fetch: from <remote_name>")
  depth: Depth to fetch at
  prune: Prune remote removed refs
  prune_tags: Prune reomte removed tags
Returns:
  Dictionary with refs on the remote
Nsfetch: from r)rr)�prune�
prune_tags)
r�r�r�r�r
r2rrWr6r�)r�r�r�r�r�rrirjr�rr�r�rr�rs               rIrr�s���4
�4�	 �A�)8��)L�&���?�%��(>�(>�?O�(P�P�G�-��
�$%�$6�$6�$8�
�<B�
����|�|�D�i�o�o�U�|�S���"�������!�!���%�

�
!�"��#
!�	 �"��s�BB�
B,�patternc��[U[5(a[R"U5n[	U5nUR5nSSS5 U(a�0nUR
S5nWR5HrupgSnUR
S5n	[U	5[U5:�aM2[XY5H$up�[R"X�5nU(aM$ O U(dMnXtU'Mt Un[WR5SS9VVs/sH+upgUS:wdM
UWRU5RU4PM- nnnU$!,(df   GN=fs snnf)z�Iterate over all refs that match the (optional) pattern.

Args:
  repo: Path to the repository
  pattern: Optional glob (7) patterns to filter the refs with
Returns:
  List of bytes tuples with: (sha, object_type, ref_name)
N�/Fc��US$)NrrF)�ref_shas rI�<lambda>�for_each_ref.<locals>.<lambda>�s����
rM)�keyr�)r�r�r�rDr��get_refsrr�r6�zip�fnmatch�fnmatchcaser��
get_objectr)
r�rkr�r��
matching_refs�
pattern_partsr�rE�matches�	ref_parts�pat�ref_part�rets
             rI�for_each_refr�s9���'�3����+�+�g�&��	�4�	 �A��z�z�|��
!��,.�
��
�
�d�+�
��
�
��H�C��G��	�	�$��I��9�~��M� 2�2��!$�]�!>�
��!�-�-�h�<���w��"?�
�w�%(�c�"�#%�&����J�J�L�*�
�-�
�H�C��'�>�	0��a�l�l�3��)�)�3�/�
��-��J�I
!�	 ��6-s�E�E�"E�
Ec�t�Uc[R"5n[U4SU0UD6up4URU5$)z�List the refs in a remote.

Args:
  remote: Remote repository location
  config: Configuration to use
Returns:
  Dictionary with remote refs
r)rrr
rs)�remoterrr�	host_paths     rI�	ls_remoter��s=���~��&�&�(��.�v�O�f�O��O��F��?�?�9�%�%rMc��[U5nURR5 SSS5 g!,(df   g=f)ztRepack loose files in a repository.

Currently this only packs loose objects.

Args:
  repo: Path to the repository
N)r�r��pack_loose_objectsr�s  rI�repackr�s*��
�4�	 �A�	���)�)�+�
!�	 �	 �s�0�
>c
�\�[U5n[URURUVs/sHo�S4PM snUUUS9up�SSS5 UbC[	W	R5VVs/sHup�X�SUS4PM snn5n	[
X9W
5 ggs snf!,(df   NZ=fs snnf)a�Pack objects into a file.

Args:
  repo: Path to the repository
  object_ids: List of object ids to write
  packf: File-like object to write to
  idxf: File-like object to write to (can be None)
  delta_window_size: Sliding window size for searching for deltas;
                     Set to None for default window size.
  deltify: Whether to deltify objects
  reuse_deltas: Allow reuse of existing deltas while deltifying
N)�deltify�delta_window_size�reuse_deltasrr)r�r.rWr�r�r�r/)
r��
object_ids�packf�idxfr�r�r�r��oid�entries�data_sum�k�vs
             rI�pack_objectsr�s���*
�4�	 �A�5��K�K�
�N�N�$.�/�J�S�4�[�J�/��/�%�

���
!�����
�
��H��f�q�1��d�A�a�D�/��H�I�����1���
0�	
!�	 ��Is!� B�
B�
B�&B(
�B�
B%r�c�^^^^�SUUUU4Sjjm[U5n[XQ5nT"URURS5 SSS5 g!,(df   g=f)z�List contents of a tree.

Args:
  repo: Path to the repository
  treeish: Tree id to list
  outstream: Output stream (defaults to stdout)
  recursive: Whether to recursively list files
  name_only: Only print item name
Nc�D>�XR5H�up4nU(a[R"X#5nT(aTRUS-5 OTR[	X4U55 [
R"U5(dMwT	(dM�T"XU5 M� g)Nr�)�	iteritems�	posixpathrrWr'�stat�S_ISDIR)
�store�treeidrbr�r�rE�	list_tree�	name_onlyr��	recursives
      ����rIr��ls_tree.<locals>.list_treeLsq���$�}�6�6�8�O�D��� �~�~�d�1�������u��-���� 8��S� I�J��|�|�D�!�!�i�i��%�d�+� 9rMrrZ)r�r,r�rI)r�r�r�r�r�r�r�r�s  ```  @rI�ls_treer�;sC���"	,�	,�
�4�	 �A��!�%���!�.�.�$�'�'�2�.�
!�	 �	 �s�*A�
Ar�c��[U[5(dUR[5n[U[5(dUR[5n[	U5nUR5nSU4nUR
U5(a[U5eURUSU5 UR5 SSS5 g!,(df   g=f)zZAdd a remote.

Args:
  repo: Path to the repository
  name: Remote name
  url: Remote URL
r�r�N)
r�r`r�r�r�r�r�rnrr�)r�r�r�r�r�r�s      rI�
remote_addr�\s����d�E�"�"��{�{�+�,���c�5�!�!��j�j�)�*��	�4�	 �A�
�L�L�N���d�#���=�=��!�!��w�'�'�	���g�v�s�#�	����

!�	 �	 �s
� AC�
Cc���[U[5(dUR[5n[	U5nUR5nSU4nX4	UR
5 SSS5 g!,(df   g=f)zKRemove a remote.

Args:
  repo: Path to the repository
  name: Remote name
r�N)r�r`r�r�r�r�r�)r�r�r�r�r�s     rI�
remote_remover�qsZ���d�E�"�"��{�{�+�,��	�4�	 �A�
�L�L�N���d�#��
�J�	����	
!�	 �	 �s�'A&�&
A4c#��# �[U5nUR5n[R"U5nUH�nU(d[	UR
U5U;aM&[R
RU5(a)[R
RXcR
5nURU5(dM�Uv� M� SSS5 g!,(df   g=f7f)z�Debug gitignore files.

Args:
  repo: Path to the repository
  paths: List of paths to check for
  no_index: Don't check index
Returns: List of ignored files
N)
r�rrrr�r�r��isabsr�r )r�r$�no_indexr�r;r'r�s       rI�check_ignorer��s����
�4�	 �A������,�6�6�q�9���D�� 1�!�&�&�$� ?�5� H���w�w�}�}�T�"�"��w�w���t�V�V�4���(�(��.�.��
�
�
!�	 �	 �s#�C$�B0C�C�
	C$�
C!�C$c�f�[U5nUb[U5nOSnU(a0URU	[XA5RURU'O%URRU[
XA55 UbURRSU5 SSS5 g!,(df   g=f)aUpdate HEAD to point at a new branch/commit.

Note that this does not actually update the working tree.

Args:
  repo: Path to the repository
  detached: Create a detached head
  target: Branch or committish to switch to
  new_branch: New branch to create
Nr�)r�r�r�r(rIr�r*)r�r�detached�
new_branchr��to_sets      rI�update_headr��s���
�4�	 �A��!�%�j�1�F��F�����v��)�!�4�7�7�A�F�F�6�N�
�F�F�#�#�F�I�a�,@�A��!�
�F�F�#�#�G�V�4�
!�	 �	 �s�B
B"�"
B0�	file_pathrc�6�[XS9n[U5nURURRU5n[
RR[
R"UR5U5nURUSnUSn	[X�XsS9 g)z�Reset the file to specific commit or branch.

Args:
  repo: dulwich Repo object
  file_path: file to reset, relative to the repository path
  target: branch or commit or b'HEAD' to reset
)r�rr)�
symlink_fnN)
r,r�lookup_pathr�rGr�r�rrDr)
r�r�rr�r�rM�
file_entryrLrQr�s
          rI�
reset_filer��s~���d�+�D� ��+�I��!�!�$�"3�"3�"?�"?��K�J������R�[�[����3�Y�?�I����Z��]�+�D��a�=�D���Y�FrMc��SnUS:XaU$XRR[S9;a
[X5 U$UR	5nURS5SnSU4nUR
U5(aLURUS-S5n[X[U-R55 [U[U-5 U$[XSS9 U$![a N-f=f)	Nr�rarmrr�rMT)r�)r�r�r3r�r�rr�r�r_r4rTrd)r�r�checkout_targetrr�r�s      rI�#_update_head_during_checkout_branchr��s����O�
����(��'
�9�9�>�>�':�>�;�	;��D�!�$�����"���|�|�D�!�!�$���d�#�����g�&�&�$�n�n�T�D�[�#�>�O�
���,?�&�,H�+P�+P�+R��

��1�O�C�D���
��t�4����
�
��
�s�
!C�
C�Cr�c���[U5n[XR55n[X5nU(a(URUR5 [X5 GOb[
U5n[[USSUSS-USS-US-55nSnU[U5:ahXgnURURRU5 URURRU5 US-
nU[U5:aMh[X5n	U	b[X	5n[5n
UR#5n[%URUR5H�nU
R'UR(5 UR(U;aM0[*R(R-[*R."UR(5UR(5n
URUR0n[3[*R(R5U
55 [7X�R8U
5n[;X�R05X�R('M� UR=5 [%URUR5H1nUR(U
;dMUR?UR(/5 M3 UR#5nURAURUR5GH)nUSnUSbMUSn[*R(R-UR(UR55n
[*R(RCU
5(a[*RD"U
5 [*R(R5U
5nUUR(:wdM�[[*RF"U55S:HnU(a[*RH"U5 [*R(R5U5nUUR(:waMpGM, g![a [SUR5-5ef=f![a UR!U5 GNjf=f)akSwitch branches or restore working tree files.

The implementation of this function will probably not scale well
for branches with lots of local changes.
This is due to the analysis of a diff between branches before any
changes are applied.

Args:
  repo: dulwich Repo object
  target: branch name or commit sha to checkout
  force: true or not to force checkout
rr!r)r*rzLYour local changes to the following files would be overwritten by checkout: N)%r-r,rHr�rIr�rrrr6r�r�rGr�rurT�poprr!r!r�r�rrDrEr�dirnamerr�r rW�unstager+�isfiler9r7r8)r�rr��current_tree�target_tree�
status_reportr�r;r�r��
dealt_with�
repo_indexr�rLrQrP�path_change�	file_name�dir_pathr>s                    rI�checkout_branchr��sx���f�
�F��d�I�I�K�0�L��T�*�K��������(�+�D�9��t��
����a� ��'���"�8�,�-���"�8�,�-� ��"�#�
�
�����c�'�l�"��^�F�
#��(�(��):�):�)F�)F��O���+�+�D�,=�,=�,I�,I�6�R��Q�J�E�
�c�'�l�"� >�d�K���&�$�T�;�K��U�
��_�_�&�
�'��(9�(9�;�>�>�J�E��N�N�5�:�:�&��z�z�W�$�������R�[�[����%;�U�Z�Z�H�I��$�$�U�Y�Y�/�D��b�g�g�o�o�i�8�9�%�d�J�J�	�B�B�%:�2�y�y�%I�J�z�z�"�K�	����'��(9�(9�<�?�?�K�E��z�z��+����e�j�j�\�*�L�
���"�J��.�.�t�/@�/@�,�/�/�R���Q�i���q�>�!�#�A��I������T�Y�Y�	�0@�0@�0B�C�I��w�w�~�~�i�(�(��	�	�)�$��w�w���y�1�H��d�i�i�'��r�z�z�(�3�4��9����H�H�X�&��7�7�?�?�8�4��	�d�i�i�'�'�S��C ��'�f� �-�-�/�*�����
�
#����E�"�
#�s$�2&Q�+P&�&'Q
�
Q�Q/�.Q/c��[U5nSSKJn UR[R
R
UR
S55nURU5sSSS5 $![a
 U"5nN-f=f!,(df   g=f)z�Check canonical name and email of contact.

Args:
  repo: Path to the repository
  contact: Contact name and/or email
Returns: Canonical contact data
r)�Mailmapz.mailmapN)	r��mailmapr�r�r�r�rr��lookup)r��contactr�r�r�s     rI�
check_mailmapr�5sp��
�4�	 �A�$�	 ��'�'������Q�V�V�Z�(H�I�G��~�~�g�&�
!�	 ��
!�	 ��i�G�	 ��
!�	 �s.�A>�9A'�
A>�'A;�8A>�:A;�;A>�>
Bc#�# �[U5nURH#nURUnUR5 M% SSS5 g![anX$4v� SnAMESnAff=f!,(df   g=f7f)zcCheck a repository.

Args:
  repo: A path to the repository
Returns: Iterator over errors/warnings
N)r�r��check�	Exception)r�r�rEr��es     rI�fsckr�Gsh���
�4�	 �A��>�>�C����s�#�A�
����	�"�	
!�	 ���
��h����
��
!�	 �sD�A9�A(�A�A(�	A9�
A%�A �A(� A%�%A(�(
A6�2A9c��[U5nSSKJn URU5n[	[UR
555sSSS5 $!,(df   g=f)z!List all stashes in a repository.r��StashN)r��stashr�r�	enumerater�stashes�r�r�r�r�s    rI�
stash_listr�Zs<��	�4�	 �A� �����"����e�m�m�o�.�/�	
!�	 �	 �s�9A�
Ac��[U5nSSKJn URU5nUR	5 SSS5 g!,(df   g=f)z Push a new stash onto the stack.rr�N)r�r�r�rr�r�s    rI�
stash_pushr�cs2��	�4�	 �A� �����"��
�
�
��	
!�	 �	 ��	�(=�
Ac��[U5nSSKJn URU5nUR	5 SSS5 g!,(df   g=f)zPop a stash from the stack.rr�N)r�r�r�rr�r�s    rI�	stash_popr�ls2��	�4�	 �A� �����"��
�	�	��	
!�	 �	 �r�c��[U5nSSKJn URU5nUR	U5 SSS5 g!,(df   g=f)zDrop a stash from the stack.rr�N)r�r�r�r�drop)r�r;r�r�r�s     rI�
stash_dropr�us5��	�4�	 �A� �����"��
�
�
�5��	
!�	 �	 �s	�)>�
Ac��[U5n[UR55sSSS5 $!,(df   g=f)zList all files in an index.N)r�r�rr�s  rI�ls_filesr�~s&��	�4�	 �A��a�l�l�n�%�
!�	 �	 �s�/�
=c�*�URS5SS$)z"For now, just return 7 characters.r	N�r�)r��	object_ids  rI�find_unique_abbrevr��s�����G�$�R�a�(�(rMc
���[U5nUR5n0nUR5H�upVUR5nUR	U5nSU;aM.URSS5up�URn
UR	U
S5n
[R"[R"U
R5SS6U
RRS5/XI'M� [UR5SSS	9n[U5S
:Xa<S[UR X"R#5R53sSSS5 $S
nX"R#5n
UR%5nUH�nUR&RRS5nUHgn	U	S
nU	SSnUU:XdMUS
:XaUs s sSSS5 $SR)UUU
RRS5SU5s s sSSS5 $ US-
nM� S
R)U
RRS5SU5sSSS5 $![a GM%f=f!,(df   g=f)z�Describe the repository version.

Args:
  repo: git repository
  abbrev: number of characters of commit to take, default is 7
Returns: a string description of the current git revision

Examples: "gabcdefh", "v0.1" or "v0.1-5-gabcdefh".
r�r�rN�r	c��USS$)NrrrF)rks rIrp�describe.<locals>.<lambda>�s��3�q�6�!�9rMT)rrr�r�gz	{}-{}-g{}zg{})r�rsr�rTrwr�r|�AttributeError�datetimer�r`r�rIr�r6r�r�rHr�r��format)r��abbrevr�r�r�rr�valuer��_rkr��sorted_tags�commit_count�
latest_commitr�r��	commit_id�tag_name�
tag_commits                   rI�describer��s4��
�4�	 �A��z�z�|�����*�*�,�J�C��*�*�,�C��,�,�u�%�C��S� ���Z�Z��Q�'�F�A�
1��������f�Q�i�0���!�!�4�;�;�v�/A�/A�#B�2�A�#F�G��	�	� � ��)��D�I�'�&�T�Z�Z�\�/D�d�S���{��q� ��)�!�.�.�!�F�F�H�+�.�.�I�J�K�7
!�	 �<���&�&�(��
�������E������.�.�w�7�I�"���q�6�� ��V�A�Y�
��
�*�#�q�(�'��[
!�	 �^ +�1�1�$�(�)�,�,�3�3�G�<�W�f�E� ��_
!�	 �P#�
�A��L�!�&�|�|�M�,�,�3�3�G�<�W�f�E�F�q
!�	 ��"�
��
��
!�	 �sJ�A%I�2I�>CI�A$I�4I�	2I�7I�
I�I�I�I�
I&c��UcSn[U5n[X25nURn[U[5(d[XA5n[
URRXQ5upgX7sSSS5 $!,(df   g=f)z�Get an object by path.

Args:
  repo: A path to the repository
  path: Path to look up
  committish: Commit to look up path in
Returns: A `ShaFile` object
Nr�)	r�r(r�r�r`rZr"r�rG)r�r�r�r�r�rtr�rEs        rI�get_object_by_pathr��sl�����
�	�4�	 �A��a�,���K�K�	��$��&�&� ��.�D�&�q�~�~�'A�'A�9�S����v�

!�	 �	 �s�AA8�8
Bc��[U5nUR5RUR5sSSS5 $!,(df   g=f)z�Write a tree object from the index.

Args:
  repo: Repository for which to write tree
Returns: tree id for the tree that was written
N)r�rr�r�r�s  rI�
write_treer��s2��
�4�	 �A��|�|�~�$�$�Q�^�^�4�
!�	 �	 �s	�)?�
A
rZ)r�)F)	r�NNNNNNFF)NNN)r�N)r�NF)NN)r�rE)r�Fr�)Fr�)r�NN)NF)NNT)FN)r�N)r�)�r_r�rur�r�r�r�r��collectionsr�
contextlibrr�iorr�pathlibr�typingr	r
r�rrr
rrrrrr�rrrrrr�errorsr�filer�graphr�ignorerr;rrrrr r�r!r"r�r#r$r%r&r'�
objectspecr(r)r*r+r,r-�packr.r/�patchr0�protocolr1r2r�r3r4r5r6r�r7r8r9r2r:r;r<r=r>r�r?rAr�rG�default_bytes_out_stream�stderr�default_bytes_err_streamr�r�rdrnrrrur�r�r�r�r�r�r�r�r�r�r�r�r�rr�r�r`rr!r0rBr9�rmrXrZrfrlrorvryr}r{r�r�r�r�r�r�r�r�r�r�r�r��tupler�r�rrr4rrr3r=rOrSr�r�rYr_rcr�r�rrrr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rFrMrI�<module>rsZ��,,�\��	���
��"�.�!��"��*�F�F���"�#�#�'���?�����>�"�(���4�3���D�
�{�$?�@�	�
��
� #�3�:�:�x��>�N�*�,��"�3�:�:�x��>�N�*�,�����I��1�5�1�M�%�M�9�E�9�4&�n,�&�����
'�5E�&�R�u��
5�$�&�&�	#�

�#�0%�:�	*�

������
���0
�f
�2�5�T�2�H�T�N�2�(�	�
�&��$��*.�#��&*�Q�
�S�M�Q��C�=�Q�
�U�3��:�&�'�Q�
�V��Q��s�m�Q�h&�R0�+"�\-�`��6F�0�6F�%�,/�:�:��8&)�Z�Z��$-0�J�J�	'�14�
�
�B�*-0�J�J�
*�+.�*�*�
>�3�6�<

�
��j�j����
�
��D

���j�j�%�	 1�

� 1�F3K�
G�'*�j�j�
5�������4�
5� ����
��	�
�7,�
�7,�t!�Z�Z�	�,�$
�"@D�4�
�4�!)�%��U�
�*;�!<�4�
�8�C�=�#���4�4�
�&�&�
�
OJ�
�OJ�h�
�&�&��
���LH�
�LH�^*O�Z<�BGL�8�v �F��6
�#�
�4
�3�
�4&�#�
/� H�,5�6�$�,��j�j�&��
�
��
�+�^!�+/�3�
��c�	�
�3�
�e�C��J�'�
(�3�
�%��u�e�#�
$�%�3�l&�h�v�.�&�	,�"��� 2�
� 2�J
��j�j���/�
�
/�B�5����,��5����3D����*
��
�E�%��*�$5�
�$�
� �*5�8G��G�U�G�RV�G�$�4T5�%��s�
�"3�T5�D�T5�T�T5�n'�$�&0����&�)�CG�L�*5rM

Youez - 2016 - github.com/yon3zu
LinuXploit