https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/mercurial/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/mercurial/__pycache__/diffutil.cpython-310.pyc
o

�]Lb�@sPddlmZddlmZddlmZmZ	d
d	d
�Z							ddd�ZdS)�)�absolute_import�)�_)�mdiff�pycompatNF�diff�c
Cst||||ddd|d�S)z6return diffopts with all features supported and parsedT)�opts�	untrusted�section�git�
whitespace�formatchanging�configprefix)�difffeatureopts)�uir	r
rr�r�4/usr/lib/python3/dist-packages/mercurial/diffutil.py�diffalloptss�rc	s�d�jdf�����fdd�	}|d�|dd�|d�jd�d	�}	��d
d�|	d<|r�|d�|	d<��d
d
�|	d<��d
d�}
|
dur�d}zJzt|
�}|dksQ|dkr\td�}��||�Wn*ty�|
dksl|
dkrod}n|
dkrvd}n|
dkr�td�}��||
�YnwW||	d<n||	d<w|r�|dd�|	d<|dd�|	d<|dd�|	d<|d d!�|	d!<|r�o���d"�|	d"<�dur�dn��d#�}
|
dur�|
n|d$d%d&�|	d$<|d'd%d&�|	d'<|d(d)d%d&�|	d*<tjd+it	�
|	���S),areturn diffopts with only opted-in features parsed

    Features:
    - git: git-style diffs
    - whitespace: whitespace options like ignoreblanklines and ignorews
    - formatchanging: options that will likely break or cause correctness issues
      with most diff parsers
    NcsJ�r��|�}|st|t�r|S|dur���r|S|��|p |�d�S)N)r
)�get�
isinstance�bool�plain)�key�name�getter�
forceplain�v�rr	rrr
rrr7s
�zdifffeatureopts.<locals>.get�nodatess
show_function�showfuncsunified)r)rr scontextsexperimentalsxdiffsgitsextendedheader.similaritysshowsimilaritysextendedheader.indexr�(s.invalid length for extendedheader.index: '%d'
sshortr�sfullsnones-invalid value for extendedheader.index: '%s'
sindexsignore_all_spacesignorewssignore_space_changesignorewsamountsignore_blank_linessignoreblanklinessignore_space_at_eolsignorewseolstextsbinarysnobinaryF)rsnoprefixs	word_diffs	word-diffsworddiffr)�
configbool�config�intr�warn�
ValueErrorrr�diffoptsr�	strkwargs)rr	r
rrr
rrr�	buildopts�hconf�hlen�msg�binaryrrrr$sj������
���
�
�r)NFrr)NFrFFFr)	�
__future__r�i18nr�rrrrrrrr�<module>s	
��

https://t.me/RX1948 - 2025