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/lib64/python2.7/site-packages/hgext/purge.pyc
�
1�3\c@@sdZddlmZddlmZddlmZmZm	Z	m
Z
mZiZe
j
e�Z
dZe
dddded	�fd
dded�fd
d
ded�fd
dded�fddded�fddded�fgejed�de
j�d��ZdS(s<command to delete untracked files from the working directoryi(tabsolute_import(t_(tcmdutiltmergetpycompatt	registrartscmutilsships-with-hg-corespurge|cleantasabort-on-errsabort if an error occursttallspurge ignored files tootdirsspurge empty directoriestfilesspurge filestptprints(print filenames instead of deleting themt0tprint0s?end filenames with NUL, for use with xargs (implies -p/--print)shg purge [OPTION]... [DIR]...thelpcategoryc
O@stj|�}|jd�}d}|jd�rCd}t}n|jd�}|jd�}|r~|r~t}t}ntj|d||�}tj	||d|jdt�d	|d
|d|jd�d
|�}	x.|	D]&}
|s�|j
d|
|f�q�q�WdS(sTremoves 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 the following by default:

    - 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`)

    The --files and --dirs options can be used to direct purge to delete
    only files, only directories, or both. If neither option is given,
    both will be deleted.

    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
RsRR
tignoredR	tremoveemptydirstremovefilestabortonerrortabort_on_errtnoops%s%sN(RtbyteskwargstgettFalsetTrueRtmatchtNonetmergemodtpurgetwrite(tuitrepoR
toptstactteolRt
removedirsRtpathstpath((s1/usr/lib64/python2.7/site-packages/hgext/purge.pyR-s()		

N(t__doc__t
__future__Rtmercurial.i18nRt	mercurialRRRRRRtcmdtabletcommandt
testedwithRtwalkoptstCATEGORY_MAINTENANCER(((s1/usr/lib64/python2.7/site-packages/hgext/purge.pyt<module>s (