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__/show.cpython-313.pyc
�

6�h�?�
���SrSSKJr SSKJr SSKJr SSKJrJ	r	J
r
JrJrJ
r
JrJrJrJrJrJrJr Sr0r\R."\5r\R0"5r"SS\R25r\"5r\"S	S
SSS
\"S54/\"S5\R8S9S Sj5r\"SSS9S5r\"SSS9S5r\"S5S5r \"SSS9S5r!Sr"S!Sjr#Sr$\$"5 g)"ajunified command to show various repository information (EXPERIMENTAL)

This extension provides the :hg:`show` command, which provides a central
command for displaying commonly-accessed repository data and views of that
data.

The following config options can influence operation.

``commands``
------------

``show.aliasprefix``
   List of strings that will register aliases for views. e.g. ``s`` will
   effectively set config options ``alias.s<view> = show <view>`` for all
   views. i.e. `hg swork` would execute `hg show work`.

   Aliases that would conflict with existing registrations will not be
   performed.
�)�annotations)�_)�nullrev)
�cmdutil�commands�destutil�error�	formatter�graphmod�
logcmdutil�phases�pycompat�	registrar�revset�
revsetlang�scmutilsships-with-hg-corec�&�\rSrSrSrSrSSjrSrg)�showcmdfunc�<z;Register a function to be invoked for an `hg show <thing>`.s%s -- %sNc��X2lXBlg)a�Called with decorator arguments to register a show view.

``name`` is the sub-command name.

``func`` is the function being decorated.

``fmtopic`` is the topic in the style that will be rendered for
this view.

``csettopic`` is the topic in the style to be used for a changeset
printer.

If ``fmtopic`` is specified, the view function will receive a
formatter instance. If ``csettopic`` is specified, the view
function will receive a changeset printer.
N)�_fmtopic�
_csettopic)�self�name�func�fmtopic�	csettopics     �,/usr/lib/python3/dist-packages/hgext/show.py�_extrasetup�showcmdfunc._extrasetupBs��" �
�#����NN)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�
_docformatr�__static_attributes__r"r!rrr<s��E��J�$r!r�show�T�templater!sdisplay with templatesTEMPLATEsVIEW)�helpcategoryNc�T�UR5(a0U(d)[S5n[R"[S5US9e[R
nU(d�UR
S5 UR[S55 URS5 [UR55H7upgURS[R"UR5-5 M9 URS5 [R"[S5[S	5S9eX%;a*[R"[S
5U-[S5S9eU=(d SnXRnUR
S5 UR(a6SUR-n	URU	S
U05n
U"XU
5sSSS5 $UR(aESUR-n[R "XU5n["R$"XUSS9n
U"XU
5$U"X5$!,(df   g=f)a�show various repository information

A requested view of repository data is displayed.

If no view is requested, the list of available views is shown and the
command aborts.

.. note::

   There are no backwards compatibility guarantees for the output of this
   command. Output may change in any future Mercurial release.

   Consumers wanting stable command output should specify a template via
   ``-T/--template``.

List of available views:
s2invoke with -T/--template to control output formats%must specify a template in plain mode)�hintr+savailable views:
�
s%s
sno view requesteds#use "hg show VIEW" to choose a viewsunknown view: %ss$run "hg show" to see available viewssshow%sr-NT)�buffered)�plainrr	�Abort�showview�_table�pager�write�sorted�itemsr�sysbytesr(rr
r�lookuptemplater�changesettemplater)�ui�repo�view�templater0�viewsrr�fnr�fm�ref�spec�	displayers              r�showrHZs���>
�x�x�z�z�(��F�G���k�k�
�6�7�d�
�	
�
�O�O�E��
�����	����(�)�*�
����� �����/�J�D��H�H�W�x�0�0����>�>�?�0�	������k�k�
�"�#��9�:�
�	
����k�k�
�!�"�T�)��:�;�
�	
�
�"�7�H�	��B��H�H�W��	�{�{��b�k�k�)��
�\�\�'�K��#:�
;�r��b��#�<�
;�	����"�-�-�'���'�'���:���1�1�"�D�4�P�	��"�I�&�&��"�|��<�
;�s�(	H�
H's	bookmarks)rc��URn[U5(d:[U[R5(dUR[
S55 gUR5Vs/sHoAUR5PM nnURn[SU55n[X5n[UR55H|up�UR5 URXS9 URSSU	5 URSUR!U5UR!U55 UR#X�:HXxS9 M~ gs snf)	z(bookmarks and their associated changesets(no bookmarks set)
Nc3�8# �UHn[U5v� M g7f�N)�len)�.0�bs  r�	<genexpr>� showbookmarks.<locals>.<genexpr>�s���,�e��c�!�f�f�e�s�)�ctxsbookmarks%s�node)�active�longestbookmarklen�nodelen)�
_bookmarksrL�
isinstancer
�
jsonformatterr8r�values�rev�_activebookmark�max�longestshortestr9r:�	startitem�context�hexfunc�data)
r>r?rD�marks�node�revsrS�longestnamerU�bms
          r�
showbookmarksrg�s��
�O�O�E��u�:�:��"�i�5�5�6�6��H�H�Q�.�/�0��).����8����J�N�N���D�8�
�
!�
!�F��,�e�,�,�K��d�)�G��5�;�;�=�)���
����
�
�
�t�z�
�"�
����e�R�(�
����"�*�*�T�*�B�J�J�t�,<�=�
����<�K�	�	
�*��9s�)E
sstack)rc�n^^�USnUR5[:Xa[R"[	S55eUR5[R:XaUR[	S55 g[R"X5nSnUc"UR5nUR51nO[URSU55nXnUR5R5[:waUR5nSnURn	U	RUR5/5Hkn
XnUR5[R:Xa ODUR!UR55 [#UR%55S:�dMiSn O ['[)USS	95nU(a+[URS
UR5U55nO
[5n[U5U-U1-n[+X5n
[,R."S[0R25 Sn[8R:"X5n[8R<"USU
-US
9mU4SjnU(Ga�0mUH9nU	R?U/UR5S9n[#['U55TU'M; XSn[)UU4SjSS9n[AU5GHunn
XnU(aURS5 OURS5 URCS5 UREX}S9 URGU5 URS5 U(aURS5 OURS5 URS5 UR[	S5TU
-SS9 U(a2URS5 URSU"U5U"U54-S S9 URS!5 GM URS"5 UR[	S#5S$S9 U(a;URS%5 UR[	S&5S$S9 URS'5 UH�n
XnX�R5:XaS(OS)nU(aURS5 OURS5 URUS5 UREX}S9 URGU5 URS5 M� U(a�U(aURS*5 OURS+5 UR[	S,5SS$S9 URCS5 UREX]S9 URGU5 URS5 gg![R4[R64a SnGNtf=f)-zcurrent line of work�.s;stack view only available when there is a working directorysA(empty stack; working directory parent is a published changeset)
Ns%d::.F�T)�reverses heads(%d::) - %ld - not public()srebases{shortest(node, %d)})�	resourcesc�F>�TRXR5S.5$)N)sctxrR)�
renderdefault�hex)rQ�shortesttmpls �r�shortest�showstack.<locals>.shortest!s����)�)�3����*K�L�Lr!)�stoprev���c�>�TU$rKr")�x�revdistances �r�<lambda>�showstack.<locals>.<lambda>4s	���K��Nr!)�keyrks: s  so  )rUr1s:/s /s    (s%d commits aheadsstack.commitdistance)�labels; shg rebase --source %s --dest %ssstack.rebasehints)
s:
:    s
(stack head)
sstack.labels \ /  s(multiple children)
s  |
�@�os:/   s /   s(stack base))$rZrr	r4r�phaser
�publicr8r�	stackbase�setrd�p1�	changelog�descendants�addrL�children�listr9r]r�findcmdr�table�AmbiguousCommand�UnknownCommandr
�templateresources�
maketemplater�	ancestors�	enumerate�writenoi18nrH�flush)r>r?rG�wdirctx�baserev�basectx�	stackrevsrQ�branchpointattip�clrZ�newheads�allrevsrU�
haverebase�tresrq�headr��	sourcectx�sortedheads�i�symbolrwrps                       @@r�	showstackr��s�����4�j�G��{�{�}����k�k�
�%�
�
�	
��}�}��&�-�-�'�
���
� �
�	
�	�
� � ��*�G��G����+�+�-���[�[�]�O�	���	�	�(�G�4�5�	�
�-�C�
�v�v�x�|�|�~�� ��&�&�(����	
���B��~�~�w�{�{�}�o�.���i���9�9�;�&�-�-�'���
�
�c�g�g�i� ��s�|�|�~���"�#���!/�$�V�I�t�4�5�I����I�I�3�W�[�[�]�I�
�
���5���)�n�x�'�7�)�3�G��d�,�G�����	�8�>�>�2��
��&�&�r�0�D��*�*�
�#�g�-���L�M�����D����d�V�W�[�[�]��C�I� #�D��O� 4�K���	��2��'�	���2�D�
�� ��,�F�A�s��)�C�������������N�N�6�"��N�N�3�N�0��O�O�C� ��H�H�U�O�������������H�H�X���H�H��%�&��S�)9�9�-�
�
�
���������:�#�I�.���
�>�?�.���
�H�H�V��G-�J	�����
����$�%�^��<��
�����
����+�,�N��C�
��������i�����
�-��4����H�H�U�O��H�H�U�O�
���������s��,������
������ ���H�H�X���H�H�X��
����?�#�U�.��A�
���v�����w��0����� �
�������A
�"�"�E�$8�$8�9���
��s�'V
�
&V4�3V4s!_underway([commitage[, headage]])c��[R"USS5nSU;aSUS'SU;aSUS'Sn/nUS(a7US-
nUR[R"US[S555 UR"U/UQ76n[R"U5nXpR
SU5-
nS	n/nUS(a7US-
nUR[R"US[S
555 XpR"U/UQ76-
nUSR5nU[:waU[R"U15-
nX-$)Nsunderwayscommitage headages	commitagesheadagesnot public() and not obsolete()s
 and date(%s)scommitage requires a stringsparents(%ld)shead() and not closed()sheadage requires a stringri)
r�getargsdict�appendr�	getstringrrd�basesetrZr)	r?�subsetrv�args�rs�rsargs�mutable�relevant�wdirrevs	         r�underwayrevsetr��sU�����a��.B�C�D��4��!��\�������Z��
,�B�
�F��L��
�����
�
�� � ��\�"�A�&D�$E�
�	
��i�i��$�V�$�G��~�~�g�&�H�
�	�	�/�7�3�3�H�
$�B�
�F��J��
�����
�
�� � ��Z� �!�$@�"A�
�	
�
�	�	�"�&�v�&�&�H��4�j�n�n��G��'���F�N�N�G�9�-�-����r!sworkc	���URS5n[X5n[R"X5nUR	SSS5 [
R"UUUU[RSU0S9 g)zchangesets that aren't finishedssort(_underway(), topo)sexperimentalsgraphshortenTsnodelen)�propsN)rdr]r�	dagwalker�	setconfigr�displaygraph�
asciiedges)r>r?rGrdrU�revdags      r�showworkr��sh���9�9�/�0�D��d�)�G�
�
�
��
+�F��L�L��/�4�8����
��������7�#�
r!c	�(�URSS5H|n[RHenSX4-n[R"U[
RSS9upEX4;aM6URSUS5(aMPURSUSU-SS	9 Mg M~ g)
Nscommandssshow.aliasprefixs%s%sT)�strictsaliassshow %sr+)�source)	�
configlistr5r6r�findpossiblerr��configr�)r>�prefixr@r�choice�allcommandss      r�extsetupr��s����-�-��-@�A���O�O�D��f�^�+�D�")�"6�"6��h�n�n�T�#��F�
�~���y�y��4��.�.���L�L��4��d�):�7�L�K�$�Br!c�`^^^�U(dT$TRm[UUU4SjU55$)a�Return the length of the longest shortest node to identify revisions.

The result of this function can be used with the ``shortest()`` template
function to ensure that a value is unique and unambiguous for a given
set of nodes.

The number of revisions in the repo is taken into account to prevent
a numeric node prefix from conflicting with an integer revision number.
If we fail to do this, a value of e.g. ``10023`` could mean either
revision 10023 or node ``10023abc...``.
c	3�># �UH5n[[R"TTRU5T55v� M7 g7frK)rLr�shortesthexnodeidprefixrc)rM�rr��minlenr?s  ���rrO�"longestshortest.<locals>.<genexpr>�s7������A�	�G�+�+�D�"�'�'�!�*�f�E�F�F��s�=A)r�r\)r?rdr�r�s` `@rr]r]�s0�����
�	
���B������r!c�d�[[[[RR555n/n[
[RR55HYnUR[R"URU55<S[RUR<35 M[ [R"S5[R"[SSR5[R"S5RU54-[SSlg)Nz   s%s

%s
    r+rs

)r\�maprLr5r6�keysr9r�r�sysstr�ljust�_origdoc�cleandoc�cmdtabler(�join)�longest�entriesrzs   r�_updatedocstringr�s����#�c�8�?�?�/�/�1�2�3�G��G��h�o�o�*�*�,�-���������	�	�'� 2�3�����$�-�-�
�	
�.�$,�?�?�3D�#E����(�7�+�A�.�6�6�7����� �%�%�g�.�I�$�H�W��a�� r!r#)�)%r(�
__future__r�mercurial.i18nr�mercurial.noder�	mercurialrrrr	r
rrr
rrrrr�
testedwithr��command�revsetpredicate�_funcregistrarbaserr5�CATEGORY_CHANGE_NAVIGATIONrHrgr�r�r�r�r]r�r"r!r�<module>r�s@���(#��"�����(#�
�
��
�
�
�H�
%���+�+�-��$�)�.�.�$�6�=��	��
�{�C�!9�1�[�>�J�
��g�J��3�3��@��@�F
�,��-�
�.�
�4
�(�h�'�{�(�{�|�5�6�5�7�5�p
�'�W�%��&��&L�*�4�$�r!

Youez - 2016 - github.com/yon3zu
LinuXploit