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: //usr/lib64/python2.7/site-packages/mercurial/scmposix.pyo
�
1�3\c@@s�ddlmZddlZddlZddlZddlZddlZddlmZm	Z	m
Z
dZd�Zd�Z
d�Zd	�ZdS(
i(tabsolute_importNi(tencodingtpycompattutiltlesscC@s�tjj|d�g}tjj|d�}yQ|jgtj|�D]0\}}|jd�rFtjj||�^qF�Wntk
r�nX|S(Nthgrcshgrc.ds.rc(tostpathtjointextendRtlistdirtendswithtOSError(Rtrcstrcdirtftkind((s8/usr/lib64/python2.7/site-packages/mercurial/scmposix.pyt_rcfiless	/
cC@s�g}tjdkrd}nd}tttdg��dkr�tjjtjjtjd��}|dkr�|j	t
tjj||���q�n|j	t
d|��|S(Ntplan9s
lib/mercurials
etc/mercurialtargvit/(RtsysplatformtlentgetattrtsysRRtdirnametsysargvR	RR(Rtroottp((s8/usr/lib64/python2.7/site-packages/mercurial/scmposix.pytsystemrcpath s	%(cC@s�tjdkr!tjddgStjr=tjjd�gStjjd�}|dksntjj
|�r�tjjd�}ntjjd�tjj|dd�gSdS(	NRthomes	/lib/hgrcs~/.hgrctXDG_CONFIG_HOMEs	~/.configthgR(RRRtenvirontisdarwinRRt
expandusertgettNonetisabsR(t
confighome((s8/usr/lib64/python2.7/site-packages/mercurial/scmposix.pyt
userrcpath.s	c	C@s-yddl}|j}Wnttfk
r3dSXx�|j|j|jfD]�}y�y|j�}Wntk
r|wMnXtj	|�s�wMnt
j||d	�}tjd|�d \}}|dkr�|dkr�||fSWqMt
k
r�qMtk
r$}|dtjkrq%�qMXqMWd
S(NiiPisithi(iPis(iPi(ttermiost
TIOCGWINSZtAttributeErrortImportErrortferrtfouttfintfilenoRtisattytfcntltioctltarrayt
ValueErrortIOErrorterrnotEINVAL(	tuiR*R+tdevtfdtarritheighttwidthte((s8/usr/lib64/python2.7/site-packages/mercurial/scmposix.pyttermsize;s0


(t
__future__RR5R8R3RRtRRRt
fallbackpagerRRR(RA(((s8/usr/lib64/python2.7/site-packages/mercurial/scmposix.pyt<module>s