§
    cÌcÓ  ã                   ó®   — d Z ddlmZ  G d„ dej        ¦  «        Z G d„ dej        ¦  «        Z G d„ dej        ¦  «        Z G d	„ d
ej	        ¦  «        Z
dS )zConfig file handling for Git.é   )Úconfigc                   óD   ‡ — e Zd ZdZˆ fd„Zd„ Zej        dfd„Zd„ Z	ˆ xZ
S )ÚGitBranchConfigz=BranchConfig that uses locations.conf in place of branch.confc                 óˆ   •— t          ¦   «                              |¦  «         | j        d         | j        d         f| _        d S )Né    r   )ÚsuperÚ__init__Úoption_sources)ÚselfÚbranchÚ	__class__s     €ú3/usr/lib/python3/dist-packages/breezy/git/config.pyr	   zGitBranchConfig.__init__   s>   ø€ Ý‰Œ×Ò˜Ñ Ô Ð à"Ô1°!Ô4°dÔ6IÈ!Ô6LÐLˆÔÐÐó    c                 óL   — d                      | j        j        | j        ¦  «        S )Nz<{} of {!r}>)Úformatr   Ú__name__r   ©r   s    r   Ú__repr__zGitBranchConfig.__repr__    s   € Ø×$Ò$ T¤^Ô%<¸d¼kÑJÔJÐJr   Fc                 ób   — t           j                             | ||t           j        |¬¦  «         dS )zForce local to True)ÚstoreÚwarn_maskedN)r   ÚBranchConfigÚset_user_optionÚSTORE_LOCATION)r   ÚnameÚvaluer   r   s        r   r   zGitBranchConfig.set_user_option#   s=   € õ 	Ô×+Ò+Ø�$˜¥VÔ%:Ø#ð 	,ñ 	%ô 	%ð 	%ð 	%ð 	%r   c                 ó,   — |                       d¦  «        S )NÚ_get_user_id)Ú_get_best_valuer   s    r   r   zGitBranchConfig._get_user_id*   s   € à×#Ò# NÑ3Ô3Ð3r   )r   Ú
__module__Ú__qualname__Ú__doc__r	   r   r   ÚSTORE_BRANCHr   r   Ú__classcell__©r   s   @r   r   r      sƒ   ø€ € € € € ØGÐGðMð Mð Mð Mð Mð
Kð Kð Kð 28Ô1DØ$)ð%ð %ð %ð %ð4ð 4ð 4ð 4ð 4ð 4ð 4r   r   c                   ó*   — e Zd ZdZdZd„ Zdd„Zd„ ZdS )ÚGitConfigSectionDefaultz/The "default" config section in git config fileNc                 ó   — || _         d S ©N)Ú_config©r   Úidr   s      r   r	   z GitConfigSectionDefault.__init__4   s   € ØˆŒˆˆr   Tc                 óô  — |dk    r©	 | j                              dd¦  «        }n# t          $ r Y d S w xY w	 | j                              dd¦  «        }n$# t          $ r |                     ¦   «         cY S w xY wd                     |                     ¦   «         |                     ¦   «         ¦  «        S |dk    rB	 | j                              dd¦  «        }n# t          $ r Y d S w xY w|                     ¦   «         S d S )NÚemail©s   useró   emails   namez{} <{}>Úgpg_signing_keyó
   signingkey)r*   ÚgetÚKeyErrorÚdecoder   )r   r   ÚdefaultÚexpandr.   Úkeys         r   r3   zGitConfigSectionDefault.get7   s  € Ø�7Š?ˆ?ðØœ×(Ò(¨°hÑ?Ô?��øÝð ð ð Ø�t�tðøøøð&Ø”|×'Ò'¨°WÑ=Ô=��øÝð &ð &ð &Ø—|’|‘~”~Ð%Ð%Ð%ð&øøøà×#Ò# D§K¢K¡M¤M°5·<²<±>´>ÑBÔBÐBØÐ$Ò$Ð$ðØ”l×&Ò& {°MÑBÔB��øÝð ð ð Ø�t�tðøøøà—:’:‘<”<ÐØˆts/   ˆ$ ¤
2±2¶A ÁA3Á2A3Â7C Ã
C!Ã C!c              #   óÎ   K  — 	 | j                              dd¦  «         dV — n# t          $ r Y nw xY w	 | j                              dd¦  «         dV — d S # t          $ r Y d S w xY w)Nr/   r0   r.   r2   r1   )r*   r3   r4   r   s    r   Úiter_option_namesz)GitConfigSectionDefault.iter_option_namesJ   s§   è è € ð	ØŒL×Ò˜[¨(Ñ3Ô3Ð3ð ˆMˆMˆMˆMøõ ð 	ð 	ð 	ØˆDð	øøøð	$ØŒL×Ò˜[¨-Ñ8Ô8Ð8ð $Ð#Ð#Ð#Ð#Ð#øõ ð 	ð 	ð 	ØˆDˆDð	øøøs   „$ ¤
1°1µA Á
A$Á#A$)NT)r   r    r!   r"   r,   r	   r3   r:   © r   r   r'   r'   /   sQ   € € € € € Ø9Ð9à	€Bðð ð ðð ð ð ð&$ð $ð $ð $ð $r   r'   c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚGitConfigStorezStore that uses gitconfig.c                 ó"   — || _         || _        d S r)   )r,   r*   r+   s      r   r	   zGitConfigStore.__init__\   s   € ØˆŒØˆŒˆˆr   c                 ó2   — | t          d| j        ¦  «        fgS )Nr6   )r'   r*   r   s    r   Úget_sectionszGitConfigStore.get_sections`   s!   € àÕ*¨9°d´lÑCÔCÐDðð 	r   N)r   r    r!   r"   r	   r@   r;   r   r   r=   r=   Y   s8   € € € € € Ø$Ð$ðð ð ðð ð ð ð r   r=   c                   ó"   ‡ — e Zd ZdZˆ fd„Zˆ xZS )ÚGitBranchStackzGitBranch stack.c                 ó  •— | j         g}t          j        ¦   «         }t          j        ||j        ¦  «        }|                     |j        ¦  «         t          |j        dd ¦  «        }|r<t          d| 
                    ¦   «         ¦  «        }|                     |j        ¦  «         t          j        ¦   «         }|                     |j        ¦  «         t          ¦   «                              |||j        ¦  «         || _        d S )NÚ_gitr   )Ú_get_overridesr   ÚLocationStoreÚLocationMatcherÚbaseÚappendr@   ÚgetattrÚ
repositoryr=   Ú
get_configÚGlobalStorer   r	   r   )	r   r   Úsection_gettersÚlstoreÚloc_matcherÚgitÚcstoreÚgstorer   s	           €r   r	   zGitBranchStack.__init__i   sï   ø€ ØÔ.Ð/ˆÝÔ%Ñ'Ô'ˆÝÔ,¨V°V´[ÑAÔAˆØ×Ò˜{Ô7Ñ8Ô8Ð8õ �fÔ'¨°Ñ6Ô6ˆØð 	8Ý# H¨c¯nªnÑ.>Ô.>Ñ?Ô?ˆFØ×"Ò" 6Ô#6Ñ7Ô7Ð7ÝÔ#Ñ%Ô%ˆØ×Ò˜vÔ2Ñ3Ô3Ð3Ý‰Œ×ÒØð �F”Kñ		!ô 	!ð 	!ð
 ˆŒˆˆr   )r   r    r!   r"   r	   r$   r%   s   @r   rB   rB   f   s>   ø€ € € € € ØÐðð ð ð ð ð ð ð ð r   rB   N)r"   Ú r   r   r   ÚSectionr'   ÚStorer=   Ú_CompatibleStackrB   r;   r   r   ú<module>rX      sè   ðð" $Ð #ðð ð ð ð ð ð
4ð 4ð 4ð 4ð 4�fÔ)ñ 4ô 4ð 4ð.'$ð '$ð '$ð '$ð '$˜fœnñ '$ô '$ð '$ðT
ð 
ð 
ð 
ð 
�V”\ñ 
ô 
ð 
ðð ð ð ð �VÔ,ñ ô ð ð ð r   