-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/hgext/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/hgext/purge.pyc

ó
Ì\,Tc@sdZddlmZmZmZmZddlmZddlZddl	Z	iZ
eje
ƒZdZedddded	ƒfd
ddedƒfd
d
dedƒfd
ddedƒfdddedƒ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 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]...cs®ˆd‰d‰ˆdr*d‰t‰nˆd}ˆd}|r[|r[t}t}n‡‡‡‡‡fd†}d„}g}tjˆd|ˆƒ}	|j|	_|	_ˆjd	|	d
ˆddtƒ}
|r,xPt	|
d
|
dƒD]3}ˆrˆj
tdƒ|ƒn|||ƒqòWn|rªxut	|dtƒD]^}|	|ƒrEtj
ˆj|ƒƒrEˆrˆj
tdƒ|ƒn|tj|ƒqEqEWndS(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
RtR
R	cs’ˆ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(s//usr/lib/python2.7/dist-packages/hgext/purge.pytremoveVs

cSs„ytj|ƒWnltk
rtj|ƒ}|jtj@dkrL‚ntj|tj|jƒtjBƒtj|ƒnXdS(Ni(tosRRtstattst_modetS_IWRITEtchmodtS_IMODE(tpathts((s//usr/lib/python2.7/dist-packages/hgext/purge.pyt
removefilebs
#tmatchtignoredRtunknowniisremoving file %s
treversesremoving directory %s
N(tFalsetTrueRR(tNonetappendtexplicitdirttraversedirtstatustsortedtnoteRRtlistdirRtrmdir(RRR	Rtremovefilest
removedirsRR'tdirectoriesR(R2tf((RRRRRs//usr/lib/python2.7/dist-packages/hgext/purge.pytpurge#s6(
	

		"%(t__doc__t	mercurialRRRRtmercurial.i18nRRR tcmdtabletcommandt
testedwithR.twalkoptsR;(((s//usr/lib/python2.7/dist-packages/hgext/purge.pyt<module>s"

Copyright © 2017 || Recoded By Mr.Bumblebee