HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //proc/self/root/proc/thread-self/root/lib64/python2.7/site-packages/mercurial/diffutil.pyc
�
1�3\c@@sgddlmZddlmZddlmZmZdedd�Z	dedeeed�Z
dS(	i(tabsolute_importi(t_(tmdifftpycompattdiffcC@s.t|d|d|d|dtdtdt�S(s6return diffopts with all features supported and parsedtoptst	untrustedtsectiontgitt
whitespacetformatchanging(tdifffeatureoptstTrue(tuiRRR((s8/usr/lib64/python2.7/site-packages/mercurial/diffutil.pytdiffalloptssc
@s�d�jd����fd�}i|d�d6|dd�d6|dd�j�d6}�jdd	�|d	<|r�|d
�|d
<�jdd�|d<�jdd
�}	|	dk	r�d}
z�yHt|	�}
|
dks�|
dkr
td�}�j||
�nWnstk
r�|	dks6|	dkr?d}
q�|	dkrTd}
q�|	dkr�td�}�j||	�q�nXWd|
|d<Xq�n|r�|dd�|d<|dd�|d<|dd�|d<|dd �|d <n|r��o�jd!�|d!<�dkrdn�jd"�}|dk	rA|n|d#d$t�|d#<|d%d$t�|d%<|d&d'd$t�|d(<nt	j
tj|��S()sreturn 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
    c@sf�r1�j|�}|s*t|t�r1|Sn|dk	rM�j�rM|S|�|p\|d��S(NR(tgett
isinstancetbooltNonetplain(tkeytnametgettert
forceplaintv(RRR
R(s8/usr/lib64/python2.7/site-packages/mercurial/diffutil.pyR"stnodatest
show_functiontshowfunctunifiedRtcontexttexperimentaltxdiffRsextendedheader.similaritytshowsimilaritysextendedheader.indexii(s.invalid length for extendedheader.index: '%d'
tshorttitfulltnones-invalid value for extendedheader.index: '%s'
Ntindextignore_all_spacetignorewstignore_space_changetignorewsamounttignore_blank_linestignoreblanklinestignore_space_at_eoltignorewseolttexttbinarytnobinaryRtnoprefixt	word_diffs	word-difftworddiff(
Rt
configbooltconfigtintRtwarnt
ValueErrorRtFalseRtdiffoptsRt	strkwargs(
R
RRRRR	R
Rt	buildoptsthconfthlentmsgR/((RRR
Rs8/usr/lib64/python2.7/site-packages/mercurial/diffutil.pyRsV
$
	

		

!N(t
__future__Rti18nRR"RRRR9RR(((s8/usr/lib64/python2.7/site-packages/mercurial/diffutil.pyt<module>
s