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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

p��ghD���SrSSKJrJrJrJrJrJr SSKJ	r	 "SS\R5r"SS\5r"SS	\5r
"S
S\5r"SS
\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS5r"SS5r"S S!5rg")#z�Reconfigure a controldir into a new tree/branch/repository layout.

Various types of reconfiguration operation are available either by
constructing a class or using a factory method on Reconfigure.
�)�branch�
controldir�errors�trace�ui�urlutils)�gettextc��\rSrSrSrSrg)�BzrDirError�c��[R"URS5n[RRXUS9 g)N�ascii)r�display_url)r�unescape_for_display�user_urlr�BzrError�__init__)�selfrrs   �4/usr/lib/python3/dist-packages/breezy/reconfigure.pyr�BzrDirError.__init__s1���3�3�J�4G�4G��Q����� � ��+� �V��N)�__name__�
__module__�__qualname__�__firstlineno__r�__static_attributes__rrrrrs��Wrrc��\rSrSrSrSrg)�NoBindLocation�$z9No location could be found to bind to at %(display_url)s.rN�rrrr�_fmtrrrrrr$s��F�Drrc��\rSrSrSrSrSrg)�UnsyncedBranches�(zY'%(display_url)s' is not in sync with %(target_url)s.  See brz help sync-for-reconfigure.c��[RRX5 SSKJn UR
"URS5Ulg)Nr)rr)rrr�rr�base�
target_url)rr�
target_branchrs    rr�UnsyncedBranches.__init__.s1����� � ��2��"�7�7�
�8J�8J�G�T��r)r)N)rrrrr"rrrrrr$r$(s��	*�	�
Urr$c��\rSrSrSrSrg)�
AlreadyBranch�5z&'%(display_url)s' is already a branch.rNr!rrrr-r-5s��3�Drr-c��\rSrSrSrSrg)�AlreadyTree�9z$'%(display_url)s' is already a tree.rNr!rrrr0r09s��1�Drr0c��\rSrSrSrSrg)�AlreadyCheckout�=z('%(display_url)s' is already a checkout.rNr!rrrr3r3=���5�Drr3c��\rSrSrSrSrg)�AlreadyLightweightCheckout�Az4'%(display_url)s' is already a lightweight checkout.rNr!rrrr7r7As��A�Drr7c��\rSrSrSrSrg)�AlreadyUsingShared�Ez7'%(display_url)s' is already using a shared repository.rNr!rrrr:r:Es��D�Drr:c��\rSrSrSrSrg)�AlreadyStandalone�Iz('%(display_url)s' is already standalone.rNr!rrrr=r=Ir5rr=c��\rSrSrSrSrg)�AlreadyWithTrees�MzBShared repository '%(display_url)s' already creates working trees.rNr!rrrr@r@Ms��O�Drr@c��\rSrSrSrSrg)�AlreadyWithNoTrees�QzIShared repository '%(display_url)s' already doesn't create working trees.rNr!rrrrCrCQs��V�DrrCc��\rSrSrSrSrg)�ReconfigurationNotSupported�Uz@Requested reconfiguration of '%(display_url)s' is not supported.rNr!rrrrFrFUs��M�DrrFc��\rSrSrSrSrSrg)�ReconfigureStackedOn�Yz6Reconfigures a branch to be stacked on another branch.c���UR"5n[R"UR[R"U55nUR
"5 UR"U5 [R"5(dQ[RR[S5RURUR"555 SSS5 g!,(df   g=f)Nz{0} is now stacked on {1}
)�open_branchr�relative_urlr(�
normalize_url�
lock_write�set_stacked_on_urlr�is_quietr�
ui_factory�noter	�format�get_stacked_on_url)rr�stacked_on_urlr�on_urls     r�apply�ReconfigureStackedOn.apply\s����'�'�)���&�&��K�K��/�/��?�
���
�
�
 ��%�%�f�-��>�>�#�#��
�
�"�"��9�:�A�A����V�%>�%>�%@���!�
 �
 �s
�A>C�
C-rN)rrrr�__doc__rXrrrrrIrIYs
��@�rrIc��\rSrSrSrSrg)�ReconfigureUnstacked�mc�@�UR"5nUR"5 UR"S5 [R"5(d6[
RR[S5UR4-5 SSS5 g!,(df   g=f)Nz%s is now not stacked
)
rLrOrPrrQrrRrSr	r()rrrs   rrX�ReconfigureUnstacked.applynsf���'�'�)��
�
�
�
 ��%�%�d�+��>�>�#�#��
�
�"�"�7�+D�#E�����#V�W�!�
 �
 �s�A#B�
BrN)rrrrrXrrrrr\r\ms��Xrr\c���\rSrSrSSjr\S5r\S5r\SSj5r\	SSj5r
\	S5r\	S	5r\	S
5r
SrSSjrS
rSrSrSSjrSrg)�Reconfigure�vNc�F�XlX lSUlURR5UlURR
URR
:XaURUlOSUlURR5nUR
UR
:XaX0l	SUl
OSUl	X0l
UR"5Ul
SUlSUlSUlSUlSUlSUlSUlSUlSUlSUlSUlg![Ra SUlSUlN�f=f![Ra SUl	SUl
N�f=f![Ra
 SUl
N�f=f)NF)r�new_bound_location�local_repository�find_repository�
repositoryrr�NoRepositoryPresentrL�local_branch�referenced_branch�NotBranchError�open_workingtree�tree�
NoWorkingTree�_unbind�_bind�_destroy_reference�_create_reference�_destroy_branch�_create_branch�
_destroy_tree�_create_tree�_create_repository�_destroy_repository�_repository_trees)rrrdrs    rr�Reconfigure.__init__ws|��$��"4�� $���		-�"�o�o�=�=�?�D�O�
���'�'�4�?�?�+C�+C�C�(,����%�(,��%�
	*��_�_�0�0�2�F����*�"5�"5�5�$*�!�)-��&�$(��!�)/�&�	�"�3�3�5�D�I������
�"'���!&���$���#���"���!���"'���#(�� �!%����C�)�)�	)�"�D�O�$(�D�!�	)�� �$�$�	*� $�D��%)�D�"�	*��
�#�#�	��D�I�	�s<�D2�=AE�?
E�F�2"E�E�"E?�>E?�F �F c��[U5nURSSSSS9 UR5(d[U5eU$)z�Return a Reconfiguration to convert this controldir into a branch.

:param controldir: The controldir to reconfigure
:raise AlreadyBranch: if controldir is already a branch
FT��	want_tree�want_branch�
want_bound�want_reference)ra�
_plan_changes�changes_plannedr-�r�reconfigurations  r�	to_branch�Reconfigure.to_branch�sM��&�j�1���%�%���%�PU�	&�	
��.�.�0�0��
�+�+��rc��[U5nURSSSSS9 UR5(d[U5eU$)z�Return a Reconfiguration to convert this controldir into a tree.

:param controldir: The controldir to reconfigure
:raise AlreadyTree: if controldir is already a tree
TFr|)rar�r�r0r�s  r�to_tree�Reconfigure.to_tree�sL��&�j�1���%�%����u�	&�	
��.�.�0�0��j�)�)��rc��[X5nURSSSSS9 UR5(d[U5eU$)z�Return a Reconfiguration to convert this controldir into a checkout.

:param controldir: The controldir to reconfigure
:param bound_location: The location the checkout should be bound to.
:raise AlreadyCheckout: if controldir is already a checkout
TFr|)rar�r�r3)r�bound_locationr�s   r�to_checkout�Reconfigure.to_checkout�sL��&�j�A���%�%����e�	&�	
��.�.�0�0�!�*�-�-��rc�z�U"X5nURSSSSS9 UR5(d[U5eU$)aMake a Reconfiguration to convert controldir into a lightweight checkout.

:param controldir: The controldir to reconfigure
:param bound_location: The location the checkout should be bound to.
:raise AlreadyLightweightCheckout: if controldir is already a
    lightweight checkout
TFr|)r�r�r7)�klassr�reference_locationr�s    r�to_lightweight_checkout�#Reconfigure.to_lightweight_checkout�sM�� �
�?���%�%���%�PT�	&�	
��.�.�0�0�,�Z�8�8��rc�t�U"U5nURSS9 UR5(d[U5eU$)z5Convert a standalone branch into a repository branch.T��
use_shared)�_set_use_sharedr�r:�r�rr�s   r�
to_use_shared�Reconfigure.to_use_shared�s?�� �
�+���'�'�4�'�8��.�.�0�0�$�Z�0�0��rc�t�U"U5nURSS9 UR5(d[U5eU$)z5Convert a repository branch into a standalone branch.Fr�)r�r�r=r�s   r�
to_standalone�Reconfigure.to_standalone�s?�� �
�+���'�'�5�'�9��.�.�0�0�#�J�/�/��rc�N�U"U5nURR5(d[UR5eU(a*URR	5(a[U5eU(d*URR	5(d[
U5eX#lU$)z4Adjust a repository's working tree presence default.)rg�	is_sharedrFr�make_working_treesr@rCry)r�r�
with_treesr�s    r�set_repository_trees� Reconfigure.set_repository_trees�s��� �
�+���)�)�3�3�5�5�-�o�.H�.H�I�I��/�4�4�G�G�I�I�"�:�.�.��O�$>�$>�$Q�$Q�$S�$S�$�Z�0�0�0:�-��rc�R�U(dU(d[UR5eU(aU(a[UR5eURcU(dSUlO[U(aTURRURR:Xa&URR5(dSUlURc#U(aSUlURbSUl
OU(dSUlURcUSLaSUlU(aSUl
OLU(a#URR5cSUl
O"URR5bSUlU(dUR bSUlU(aUR cSUlggg)z?Determine which changes are needed to assume the configuration.NT)rFrrgrwrr�rxrjrrrirsrqrtrp�get_bound_locationrormrurv)rr}r~rr�s     rr��Reconfigure._plan_changes�sC���>�-�d�o�o�>�>��>�-�d�o�o�>�>��?�?�"�!�*.��'������(�(�D�O�O�,D�,D�D����0�0�2�2�/3�D�,��!�!�)��)-��&��$�$�0�+/�D�(��!�*.��'����$��d�"�&*��#��!%�D�J����$�$�7�7�9�A�!%�D�J���$�$�7�7�9�E�#'�D�L��T�Y�Y�2�!%�D������*� $�D��+�9rc�p�UcgU(aURbSUlggURcSUlgg)NT)rerxrw)rr�s  rr��Reconfigure._set_use_shared'sB�������$�$�0�+/��(�1��$�$�,�*.��'�-rc�J�UR=(d� UR=(d~ UR=(dk UR=(dX UR=(dE UR
=(d2 UR=(d UR=(d UR$)z4Return True if changes are planned, False otherwise.)	rorprurvrqrtrwrrrx)rs rr��Reconfigure.changes_planned1s���
�L�L�
(��z�z�
(��!�!�
(�� � �
(��&�&�	
(�
�"�"�
(��&�&�

(��%�%�
(��'�'�
	
rc���UR(a?URR5(a [R"UR5eUR
(a~URbp[RRUR55nUR5URR5:wa[URU5eggg)z5Raise if reconfiguration would destroy local changes.N)rurm�has_changesr�UncommittedChangesrrrir�Branch�open�_select_bind_location�
last_revisionr$r)r�reference_branchs  r�_check�Reconfigure._check?s������$�)�)�"7�"7�"9�"9��+�+�D�I�I�6�6��!�!�d�&7�&7�&C�%�}�}�1�1�$�2L�2L�2N�O���-�-�/�4�3D�3D�3R�3R�3T�T�&�t���8H�I�I�U�'D�!rc��URbUR$URb}URR5nUbU$URR5nUbU$URR	5nUbU$URR5nUbU$O#URbURR$[UR5e)aTSelect a location to bind or create a reference to.

Preference is:
1. user specified location
2. branch reference location (it's a kind of bind location)
3. current bind location
4. previous bind location (it was a good choice once)
5. push location (it's writeable, so committable)
6. parent location (it's pullable, so update-from-able)
)
rdrir��get_old_bound_location�get_push_location�
get_parentrjr(rr)r�bound�	old_bound�
push_location�parents     rr��!Reconfigure._select_bind_locationHs����"�"�.��*�*�*����(��%�%�8�8�:�E�� ����)�)�@�@�B�I��$� � � �-�-�?�?�A�M��(�$�$��&�&�1�1�3�F��!��
�"�
�
#�
#�
/��)�)�.�.�.��T�_�_�-�-rc��U(dUR5 UR(GaUR(a(UR(dURRnO7UR
(a$URbURRnOSnUb
URnOSnUbURUR5nOURR5nUR(aOUR(d>URURRURR55 OURnUR
(aKURb>URURRURR55 UR(a-[RR!UR#55nUR$(a�UR(a&WRRUR5 O�URb�UR(drURR&R)S5n[R*R-U5SnUR/5nURUR5 Sn	UR0(a4URR35n	URR55 UR(atURR35n	UR(a/URR6R9WR65 URR55 UR
(a�URR;5n
U	bU
R<"U	6 UR0(aJURR6R9U
R65 URR?U
5 OURn
UR(aURRAW5 URB(aURRE5 URF(aURRI5 URJ(aURRM5 URN(a>UR#5nU
RQ[RR!U55 UR$(aURRS5 URTbURWURT5 gg)aGApply the reconfiguration.

:param force: If true, the reconfiguration is applied even if it will
    destroy local changes.
:raise errors.UncommittedChanges: if the local tree is to be destroyed
    but contains uncommitted changes.
:raise NoBindLocation: if no bind location was specified and
    none could be autodetected.
Nz..�),r�rwrirsrgrtrj�_format�
initializer�create_repository�fetchr�rrrr�r�r�rx�user_transport�clone�
ControlDir�open_containing_from_transportrfrq�last_revision_info�destroy_branch�tags�merge_to�
create_branch�set_last_revision_info�update_references�set_branch_referenceru�destroy_workingtreerv�create_workingtreero�unbindrp�bind�destroy_repositoryry�set_make_working_trees)r�force�old_repo�repository_format�repor��up�
up_controldir�new_repor�ri�
bind_locations            rrX�Reconfigure.applyfs�����K�K�M��"�"�"�� � ��)=�)=��,�,�7�7���$�$��)?�)?�)K��1�1�<�<�����#�$,�$4�$4�!�$(�!� �,�(�3�3�D�O�O�D�����8�8�:��� � ��)=�)=��
�
��%�%�0�0�$�2C�2C�2Q�2Q�2S����?�?�D����4�#9�#9�#E��J�J��&�&�1�1��&�&�4�4�6�
��!�!�%�}�}�1�1�$�2L�2L�2N�O���#�#��%�%� �+�+�1�1�$�/�/�B��"�"�.�t�7K�7K��&�&�5�5�;�;�D�A�� *� 5� 5� T� T��!��!�
�)�8�8�:�����t���/�!���"�"�!%�!7�!7�!J�!J�!L���O�O�*�*�,����!%�!2�!2�!E�!E�!G���%�%��!�!�&�&�/�/�0@�0E�0E�F��O�O�*�*�,�����?�?�8�8�:�L�!�-��3�3�5G�H��&�&��&�&�+�+�4�4�\�5F�5F�G��&�&�8�8��F���,�,�L��!�!��O�O�0�0�1A�B�����O�O�/�/�1�����O�O�.�.�0��<�<����$�$�&��:�:� �6�6�8�M����f�m�m�0�0��?�@��#�#��O�O�.�.�0��!�!�-��'�'��(>�(>�?�.r)rprtrrrwrvrsrqrxruryrorrirerdrjrgrm)N)F)rrrrr�staticmethodr�r�r��classmethodr�r�r�r�r�r�r�r�r�rXrrrrraravs���'&�R���������
��
����� ������������&%�P/�
�J�.�<R@rraN)rZr'rrrrrr�i18nr	rrrr$r-r0r3r7r:r=r@rCrFrIr\rarrr�<module>r�s���"�>�=��W�&�/�/�W�G�[�G�
U�{�
U�4�K�4�2�+�2�6�k�6�B��B�E��E�6��6�P�{�P�W��W�N�+�N���(X�X�B@�B@r

Youez - 2016 - github.com/yon3zu
LinuXploit