403Webshell
Server IP : 217.160.0.244  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u100174116 ( 6746176)
PHP Version : 8.5.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/breezy/plugins/bash_completion/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/breezy/plugins/bash_completion/__pycache__/bashcomp.cpython-313.pyc
�

p��g�@���SSKrSSKrSSKrSSKJrJrJrJrJrJ	r	 "SS5r
"SS5r"SS	5r"S
S5r
"SS
5r"SS5rS.Sjr"SS\R"5r\S:XGaFSSKrSSKrSr\R."SS9r\R3SSSSS9 \R3SSSS S!9 \R3S"S\R4S!9 \R3S#SS$S!9 \R3S%SS&S'/S(\S)S*9 \R75urr\(a\R=S+5 0r\R@RC5Hur"r#\#cM\#\\"'M \RH"\RJS,5 \RMS-S5(d\	RN"5 \RP"5 \"\RR40\D6 gg)/�N�)�cmdline�commands�config�help_topics�option�pluginc�R�\rSrSrSrSSjrSrSrSrSr	Sr
S	rS
rSr
Srg
)�BashCodeGen�z1Generate a bash script for given completion data.c�(�XlX lX0lg�N)�data�
function_name�debug)�selfrrrs    �I/usr/lib/python3/dist-packages/breezy/plugins/bash_completion/bashcomp.py�__init__�BashCodeGen.__init__s���	�*���
�c�p�SRURUR5UR5S9$)Na&# Programmable completion for the Breezy brz command under bash.
# Known to work with bash 2.05a as well as bash 4.1.2, and probably
# all versions in between as well.

# Based originally on the svn bash completition script.
# Customized by Sven Wilhelm/Icecrash.com
# Adjusted for automatic generation by Martin von Gagern

# Generated using the bash_completion plugin.
# See https://launchpad.net/bzr-bash-completion for details.

# Commands and options of brz {brz_version}

shopt -s progcomp
{function}
complete -F {function_name} -o default brz
)r�function�brz_version)�formatrrr�rs r�script�BashCodeGen.script!s;���"�F��,�,��]�]�_��(�(�*��
�#	
rc��SRUR5URUR5UR	5UR5S9$)Nau
{function_name} ()
{{
    local cur cmds cmdIdx cmd cmdOpts fixedWords i globalOpts
    local curOpt optEnums
    local IFS=$' \n'

    COMPREPLY=()
    cur=${{COMP_WORDS[COMP_CWORD]}}

    cmds='{cmds}'
    globalOpts=( {global_options} )

    # do ordinary expansion if we are anywhere after a -- argument
    for ((i = 1; i < COMP_CWORD; ++i)); do
        [[ ${{COMP_WORDS[i]}} == "--" ]] && return 0
    done

    # find the command; it's the first word not starting in -
    cmd=
    for ((cmdIdx = 1; cmdIdx < ${{#COMP_WORDS[@]}}; ++cmdIdx)); do
        if [[ ${{COMP_WORDS[cmdIdx]}} != -* ]]; then
            cmd=${{COMP_WORDS[cmdIdx]}}
            break
        fi
    done

    # complete command name if we are not already past the command
    if [[ $COMP_CWORD -le cmdIdx ]]; then
        COMPREPLY=( $( compgen -W "$cmds ${{globalOpts[*]}}" -- $cur ) )
        return 0
    fi

    # find the option for which we want to complete a value
    curOpt=
    if [[ $cur != -* ]] && [[ $COMP_CWORD -gt 1 ]]; then
        curOpt=${{COMP_WORDS[COMP_CWORD - 1]}}
        if [[ $curOpt == = ]]; then
            curOpt=${{COMP_WORDS[COMP_CWORD - 2]}}
        elif [[ $cur == : ]]; then
            cur=
            curOpt="$curOpt:"
        elif [[ $curOpt == : ]]; then
            curOpt=${{COMP_WORDS[COMP_CWORD - 2]}}:
        fi
    fi
{debug}
    cmdOpts=( )
    optEnums=( )
    fixedWords=( )
    case $cmd in
{cases}    *)
        cmdOpts=(--help -h)
        ;;
    esac

    IFS=$'\n'
    if [[ ${{#fixedWords[@]}} -eq 0 ]] && [[ ${{#optEnums[@]}} -eq 0 ]] && [[ $cur != -* ]]; then
        case $curOpt in
            tag:|*..tag:)
                fixedWords=( $(brz tags 2>/dev/null | sed 's/  *[^ ]*$//; s/ /\\\\ /g;') )
                ;;
        esac
        case $cur in
            [\"\']tag:*)
                fixedWords=( $(brz tags 2>/dev/null | sed 's/  *[^ ]*$//; s/^/tag:/') )
                ;;
            [\"\']*..tag:*)
                fixedWords=( $(brz tags 2>/dev/null | sed 's/  *[^ ]*$//') )
                fixedWords=( $(for i in "${{fixedWords[@]}}"; do echo "${{cur%..tag:*}}..tag:${{i}}"; done) )
                ;;
        esac
    elif [[ $cur == = ]] && [[ ${{#optEnums[@]}} -gt 0 ]]; then
        # complete directly after "--option=", list all enum values
        COMPREPLY=( "${{optEnums[@]}}" )
        return 0
    else
        fixedWords=( "${{cmdOpts[@]}}"
                     "${{globalOpts[@]}}"
                     "${{optEnums[@]}}"
                     "${{fixedWords[@]}}" )
    fi

    if [[ ${{#fixedWords[@]}} -gt 0 ]]; then
        COMPREPLY=( $( compgen -W "${{fixedWords[*]}}" -- $cur ) )
    fi

    return 0
}}
)�cmdsr�cases�global_optionsr)r�
command_namesr�
command_casesr!�debug_outputrs rr�BashCodeGen.function9sZ��Z�t�F��#�#�%��,�,��$�$�&��.�.�0��#�#�%��
�u`	
rc�T�SRURR55$�N� )�joinr�all_command_aliasesrs rr"�BashCodeGen.command_names�s���x�x��	�	�5�5�7�8�8rc�(�UR(dgg)N�a�
    # Debugging code enabled using the --debug command line switch.
    # Will dump some variables to the top portion of the terminal.
    echo -ne '\e[s\e[H'
    for (( i=0; i < ${#COMP_WORDS[@]}; ++i)); do
        echo "\$COMP_WORDS[$i]='${COMP_WORDS[i]}'"$'\e[K'
    done
    for i in COMP_CWORD COMP_LINE COMP_POINT COMP_TYPE COMP_KEY cur curOpt; do
        echo "\$${i}=\"${!i}\""$'\e[K'
    done
    echo -ne '---\e[K\e[u'
)rrs rr$�BashCodeGen.debug_output�s���z�z��rc��[RnURR(dUS-
nU$US-
n[	URRR55Hup#USR
U5-
nM U$)N�.z and the following plugins:z
# {})�breezy�version_stringr�plugins�sorted�itemsr)rr�_namer	s    rr�BashCodeGen.brz_version�sw���+�+���y�y� � ��3��K�
��
�8�8�K�!'��	�	�(9�(9�(?�(?�(A�!B�
���x���v�6�6��"C��rc�^�SR[URR55$r')r)r4rr!rs rr!�BashCodeGen.global_options�s ���x�x��t�y�y�7�7�8�9�9rc�j�SnURRHnXRU5-
nM U$)Nr-)rr�command_case)rr �commands   rr#�BashCodeGen.command_cases�s3�����y�y�)�)�G��&�&�w�/�/�E�*��rc	��SRSRUR55nUR(aUSRUR5-
n/n/nURH�nUR
HnUSRU5-
nM UR(aoURH#nURSRXW55 M% URSRUSRUR555 M�UR[U55 M� USRSRU55-
nUR(aIURn[U[5(aS	SRU5-nUS
RU5-
nU(aUS-
nUSRU5-
nUS
-
nUS-
nU$)Nz	{})
�|z		# plugin "{}"
z		# {}
z{}={}z{}) optEnums=( {} ) ;;r(z		cmdOpts=( {} )
z( %s )z		fixedWords={}
z		case $curOpt in
			z
			z
		esac
z		;;
)rr)�aliasesr	�options�error_messages�
registry_keys�append�str�fixed_words�
isinstance�list)	rr<�caserA�enumsr�message�keyrFs	         rr;�BashCodeGen.command_case�s������������ 9�:���>�>��)�0�0����@�@�D������o�o�F�!�0�0����+�+�G�4�4��1��#�#�!�/�/�C��N�N�7�>�>�&�#>�?�0����,�3�3������)=�)=� >������s�6�{�+�&�	
�&�-�-�c�h�h�w�.?�@�@�����!�-�-�K��+�t�,�,�&����+�)>�>���)�0�0��=�=�D���1�1�D��J�O�O�E�*�*�D��N�"�D��
����r)rrrN)�_brzF)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrrr"r$rr!r#r;�__static_attributes__�rrrrs4��;��

�0a
�H9��"�:��rrc� �\rSrSrSrSrSrg)�CompletionData��c�>�0Ul[5Ul/Ulgr)r3�setr!rrs rr�CompletionData.__init__�s�����!�e�����
rc#�^# �URHnURShv�N M gN	7fr)rr@)r�cs  rr*�"CompletionData.all_command_aliases�s#������A��y�y� � �� �s�-�+�
-)rr!r3N)rOrPrQrRrr*rTrUrrrWrW�s���
!rrWc��\rSrSrSrSrg)�CommandData��c�J�XlU/UlSUl/UlSUlgr)�namer@r	rArF�rrcs  rr�CommandData.__init__�s&���	��v�����������r)r@rFrcrAr	N)rOrPrQrRrrTrUrrr`r`�s�� rr`c�$�\rSrSrSSjrSrSrg)�
PluginData�Nc��Uc,[RR5URnXlX lg![a SnNf=f)N�unknown)r1r	r3�__version__�
BaseExceptionrc�version)rrcrms   rr�PluginData.__init__�sK���?�
$� �-�-�/�/�1�$�7�C�C���	����!�
$�#��
$�s�+=�A�Ac��URS:XaUR$SRURUR5$)Nrjz{} {})rmrcrrs r�__str__�PluginData.__str__s1���<�<�9�$��9�9���~�~�d�i�i����6�6r)rcrmr)rOrPrQrRrrprTrUrrrgrg�s���7rrgc�&�\rSrSrSrSrSrSrg)�
OptionDatai	c�,�XlSUl/Ulgr)rcrCrBrds  rr�OptionData.__init__
s���	�!��� ��rc��UR$r�rcrs rrp�OptionData.__str__s���y�y�rc�4�URUR:$rrw)r�others  r�__lt__�OptionData.__lt__s���y�y�5�:�:�%�%r)rBrcrCN)rOrPrQrRrrpr{rTrUrrrsrs	s��!�
�&rrsc�N�\rSrSrS
SjrSrSrSrSrSr	S	r
S
rSrSr
g)�
DataCollectoriNc���[5Ul0UlU(a[5UlgUcSUlgUVs1sHo3RSS5iM snUlgs snf)N�-�_)rWr�user_aliasesrZ�selected_plugins�replace)r�
no_pluginsr��xs    rr�DataCollector.__init__sT��"�$��	�����$'�E�D�!�
�
%�$(�D�!�BR�$S�BR�Q�Y�Y�s�C�%8�BR�$S�D�!��$Ss�A!c�z�UR5 UR5 UR5 UR$r)r!r@rrrs r�collect�DataCollector.collect!s*�����������
�
���y�y�rc�H�[R"S5n[RR	S5nURU5HXup4URRRU5 U(dM3URRRU5 MZ g)Nz"\n(--[A-Za-z0-9-_]+)(?:, (-\S))?\szglobal-options)	�re�compiler�topic_registry�
get_detail�findallrr!�add)r�	re_switch�	help_text�long�shorts     rr!�DataCollector.global_options'st���J�J�D�E�	��.�.�9�9�:J�K�	�$�,�,�Y�7�K�D��I�I�$�$�(�(��.��u��	�	�(�(�,�,�U�3�8rc�J�[R"5R5R5Hnup[R
"U5HOnUR
S5(aMURRU[55RU5  Ml Mp g�Nr�)r�GlobalConfig�get_aliasesr5r�split�
startswithr��
setdefaultrZr�)r�alias�	expansion�tokens    rr@�DataCollector.aliases/su�� &� 3� 3� 5� A� A� C� I� I� K��E� ���y�1���'�'��,�,��%�%�0�0����>�B�B�5�I��2�!Lrc�p�[[R"55HnURU5 M gr)r4r�all_command_namesr<rds  rr�DataCollector.commands6s&���8�5�5�7�8�D��L�L���9rc�`�[R"U5n[U5nUR5nUbsURb[
UR;agURRRU5nUc#[U5nXPRRU'XSlURRRU5 URRUR5 URR[URVVs/sH>nX`R;dMURUHnXsR;dMUPM M@ snn55 UR5n[UR!55H/up�URRUR#U
55 M1 US:XdSUR;aJSR%SR'[[(R*R-5555UlU$s snnf)N�helpz
($cmds {})r()r�get_cmd_objectr`�plugin_namer�r	rr3�getrgrDr@�extendr4r�rAr5rrr)rr��keysrF)rrc�cmd�cmd_datar��plugin_data�cmdalias�	useralias�opts�_optname�opts           rr<�DataCollector.command:s����%�%�d�+���t�$���o�o�'���"��%�%�1��$�"7�"7�7���)�)�+�+�/�/��<�K��"�(��5��1<�	�	�!�!�+�.�)�O��	�	���!�!�(�+�	��������,�������%-�$4�$4��$4���#4�#4�4��&*�%6�%6�x�%@�	� �(8�(8�8�	�&A��$4��
�
	
��{�{�}��#�D�J�J�L�1�M�H����#�#�D�K�K��$4�5�2��6�>�V�s�{�{�2�#/�#6�#6������ :� :� ?� ?� A�B�C�$�H� ����'s�H*�2 H*�
H*c	��0n[R"U/5nURX#5nUR5 UR	X1R55 [
U[R5(adUR(aSSRUR5nURU5nU(a URR5Ul[)UR+55$![aZnUR R#SRUR[%U5R'S5S55 SnANxSnAff=f)Nz--{}z*ERROR getting registry keys for '--{}': {}�
r)r�
get_optparser�wrap_parser�clear�
add_option�
short_namerG�RegistryOption�enum_switchrrcr��registryr�rC�ImportErrorrBrDrEr�r4�values)rr��optswitches�parserr��	enum_data�es       rr�DataCollector.optionhs�����%�%�s�e�,���!�!�+�6���������v�~�~�/�0��c�6�0�0�1�1�c�o�o� �-�-����1�K�#����4�I���.1�l�l�.?�.?�.A�I�+��k�(�(�*�+�+��
#���,�,�3�3�D�K�K��H�H�c�!�f�l�l�4�&8��&;������s�>C6�6
E�AE�Ec� ^�U4SjnX2lU$)Nc�4>�UHn[U5TU'M gr)rs)r��attrsrcr�s   �r�tweaked_add_option�8DataCollector.wrap_container.<locals>.tweaked_add_option}s�����$.�t�$4��D�!�r)r�)rr�r�r�s `  r�wrap_container�DataCollector.wrap_container|s���	5�/���
rc�`^^^�URmUUU4SjnX2lTRTU5$)Nc�4>�TRTT"U0UD65$r)r�)r�r�r��orig_add_option_grouprs  ���r�tweaked_add_option_group�;DataCollector.wrap_parser.<locals>.tweaked_add_option_group�s&����&�&��2�D�B�E�B��
r)�add_option_groupr�)rr�r�r�r�s``  @rr��DataCollector.wrap_parser�s/��� &� 7� 7��	�
#;���"�"�;��7�7r)rr�r�)FN)rOrPrQrRrr�r!r@rr<rr�r�rTrUrrr~r~s1��T��4���,�\,�(�	8rr~Fc��[XES9nUR5n[XqUS9nU(aUR5n	OUR	5n	URU	5 g)N)r�r�)rr)r~r�rrr�write)
�outr�
function_onlyrr�r��dcr�cg�ress
          r�bash_completion_functionr��sI��
�*�	P�B�
�:�:�<�D�	�T�e�	D�B���k�k�m���i�i�k���I�I�c�Nrc
��\rSrSrSr\R"SS\SSS9\R"SS	S
SS9\R"S
S
SSS9\R"S\SSS9/r	Sr
Srg
)�cmd_bash_completioni�a@Generate a shell function for bash command line completion.

    This command generates a shell function which can be used by bash to
    automatically complete the currently typed command when the user presses
    the completion key (usually tab).

    Commonly used like this:
        eval "`brz bash-completion`"
    z
function-name�frc�.Name of the generated function (default: _brz))r��type�argnamer�z
function-only�oN�1Generate only the shell function, don't enable it)r�r�r�rTz&Enable shell code useful for debugging)r��hiddenr�r	�AEnable completions for the selected plugin (default: all plugins))r�r�r�c�~�SU;a[US5S:�aUSUS'US	[[R40UD6 g)Nr	rr�)�lenr��sys�stdout)r�kwargss  r�run�cmd_bash_completion.run�sE���v���6�(�#�$�q�(�-3�H�-=��)�*��x� � ����6�v�6rrU)rOrPrQrRrSr�OptionrE�
ListOption�
takes_optionsr�rTrUrrr�r��s����G�	�
�
�����A�	
�	�
�
����D�		
�	�
�
����9�		
�	������(�	
�)�M�<7rr��__main__c�j�URRnUS:XaUSS2	gURU5 gr�)r�r�rD)rr��valuer�r�s     r�plugin_callbackr��s+�����/�/���C�<��q�	��M�M�%� rz%prog [-f NAME] [-o])�usagez--function-namez-f�NAMEr�)�metavarr�z--function-onlyz-o�
store_truer�)�actionr�z--debugz--no-pluginszDon't load any brz pluginsz--plugin�stringr��callbackr�)r�r��dest�defaultr�r�r�z)script does not take positional argumentsr-r�)rNFFFN)*r�r�r1r-rrrrrr	rrWr`rgrsr~r��Commandr�rO�locale�optparser��OptionParserr�r��
SUPPRESS_HELP�
parse_argsr��args�errorr��__dict__r5rcr��	setlocale�LC_ALLr��load_plugins�install_bzr_command_hooksr�rUrr�<module>r
s���"
�
�
�F�F�I�I�X!�!� � �
7�
7� 
&�
&�w8�w8�x��
���
�$/7�(�*�*�/7�d�z����!��
"�
"�)?�
@�F�
������
=�	��������
@�	�����i��8�;Q�;Q��R�
����|�2N��������
�
��� �
U��	��$�$�&�L�T�4�����@�A�
�F��}�}�*�*�,���e��� �F�4�L�-����V�]�]�B�'��:�:�l�E�*�*������&�&�(��S�Z�Z�2�6�2�er

Youez - 2016 - github.com/yon3zu
LinuXploit