karma-syndicate
Linux sh-pro80.hostgator.com.br 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Apache
162.241.62.121
/
lib64
/
python2.7
/
site-packages
/
mercurial
[ HOME ]
Exec
Submit
mdiff.pyo
� Hq�Qc @ s d d l m Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d � Z d e f d � � YZ e � Z e d � Z d � Z d d d e d � Z e d � Z e d � Z d � Z d � Z d � Z d � Z d � Z e j Z e j Z e j Z d S( i����( t _Nc C sb g | j d � D] } | d ^ q } | r^ | d d k rI | j � q^ | d d | d <n | S( s0 like str.splitlines, but only split on newlines.s i����( t splitt pop( t textt lt lines( ( s5 /usr/lib64/python2.7/site-packages/mercurial/mdiff.pyt splitnewlines s & t diffoptsc B sq e Z d Z i d d 6e d 6e d 6e d 6e d 6e d 6e d 6e d 6e d 6Z e j � Z d � Z d � Z RS( s� context is the number of context lines text treats all files as text showfunc enables diff -p output git enables the git extended patch format nodates removes dates from diff headers ignorews ignores all whitespace changes in the diff ignorewsamount ignores changes in the amount of whitespace ignoreblanklines ignores changes whose lines are all blank upgrade generates git diffs to avoid data loss i t contextR t showfunct gitt nodatest ignorewst ignorewsamountt ignoreblanklinest upgradec K s� xL | j D]A } | j | � } | d k r; | j | } n t | | | � q Wy t | j � | _ Wn- t k r� t j t d � | j � � n Xd S( Ns3 diff context lines count must be an integer, not %r( t __slots__t gett Nonet defaultst setattrt intR t ValueErrort utilt AbortR ( t selft optst kt v( ( s5 /usr/lib64/python2.7/site-packages/mercurial/mdiff.pyt __init__0 s c s6 t � f d � � j D� � } | j | � t | � S( Nc 3 s$ | ] } | t � | � f Vq d S( N( t getattr( t .0R ( R ( s5 /usr/lib64/python2.7/site-packages/mercurial/mdiff.pys <genexpr>>