-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/mercurial/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/mercurial/commands.pyc


l\c@s,ddlmZmZmZmZmZddlmZddlm	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl!Z!ddl"Z"ddl#Z#ddl$Z$ddl%Z%ddl#m&Z'ddl(Z)ddl*Z*ddl+Z+ddl,Z,ddl-Z-ddl.Z.ddl/Z/ddl0Z0ddl1Z1ddl2Z2ddl3Z3ddl4Z4ddl5Z5ddl6Z6ddl7Z7ddl8Z8ddl9Z9iZ:e j;e:Z;dZ<dZ=dZ>ddde	d	e	d
fddde	de	d
fdde?e	dfdde?e	dfdde?e	dfddge	de	dfdde?e	dfdde?e	dfddeje	de	d fdd!ej@e	d"e	d#fdd$e?e	d%fdd&e?e	d'fdd(e?e	d)fdd*e?e	d+fd,d-e?e	d.fdd/eAe	d0fgZBd1d2e?e	d3fgZCd4d5de	d6e	d7fdd8de	d9e	d7fdd:e?e	d;fgZDd<d=ge	d>e	d?fd@dAge	dBe	d?fgZEdCdDde	dEe	dFfdGdHde	dIe	dJfgZFdKdLde	dMe	dNfdOdPde	dQe	dRfgZGddSde	dTe	dUfdVdWde	dXe	dYfgZHdZd[e?e	d\fd]d^e?e	d_fdGd`de	dae	dbfdcdde?e	defddfe?e	dgfdhdie?e	djfgeHZIdkdle?e	dmfd]d^e?e	d_fddne?e	dofgZJdpdqe?e	drfdsdte?e	dufdvdwe?e	dxfgZKdZdye?e	dzfdd{e?e	d|fgeKd}d~de	de	dbfddfe?e	dgfgZLddde	dfgZMddde	de	dfgZNdde?e	dfgZOe;deEeOeCe	ddePdZQe;deNeEeCe	ddePdZRe;dddde	de	dfdde?e	dfdde?e	dfdkdle?e	dmfdOdPe?e	dfdde?e	dfdKdLe?e	dfd1de?e	dfdde?e	dfdGde?e	dfg
eKeEe	ddePdZSe;ddde?e	dfdZdde	de	dfddde	de	dfddde	de	dfgeOeEe	ddZTe;ddde?e	dfddde	de	dfddde	de	dfd4deAe	dfgeMeEeFeGe	de?e?dZUe;dddeAe	dfd]deAe	dfdsdeAe	dfddeAe	dfd4deAe	dfddde	de	d7fd}deAe	dfge	de?e?e?e?e?e?e?e?e?d	ZVe;dddeAe	dfddde	de	dfdKdeAe	dfdCdde	de	dfddeAe	dfge	ddZWe;ddde?e	dfdde?e	dfge	de?dZXe;ddkdeAe	dfddeAe	dfge	deAeAdZYe;ddde?e	dfddge	de	dfdsdge	de	dfddge	de	dfdkde?e	dfddde	de	dfgeDe	de?dZZe;dddde	de	dfddde	de	dfdde?e	dfgeEe	ddePdZ[e;dd}de?e	dfdOdde	de	dfddge	de	dfdsdge	de	dfdde?e	dfdde?e	d	fgeDe	d
dePe?dZ\e;d
dde?e	dfdde?e	dfdde?e	dfdde?e	dfd4de?e	dfgeEeFeGeOe	ddePdZ]e;ddOde?e	dfd4de?e	dfdGde?e	dfd]de?e	dfge	dd ePd!Z^e;d"dd#e?e	d$fdde?e	d%fgeEeCe	d&d'Z_e;d(ge	d)d ePd*Z`e;d+dCd,e?e	d-fdd.e?e	d/fd1d0e?e	d1fge	d2e?eAeAeAd3Zae;d4dkde?e	d5fge	dJdePe?d6Zbe;d7gdd8Zce;d9ge	d:dePdd;Zde;d<dd=e?e	d>fge	d?dePdd@Zee;dAddBe?e	dCfdsde?e	dDfddEe?e	dFfddGe?e	dHfge	dId ePe?dJZfe;dKddLeAe	dMfdCdNeAe	dOfge	dPe?dQZge;dRd4dSe?e	dTfge	dUdePd ePe?dVZhe;dWddXe?e	dYfddZe?e	d[fgeDe	d\d]d^Zie;d_ddde	d`e	dfge	dadbZje;dcge	dddePdedfZke;dgdhdige	dje	dkfddlge	dme	dkfddde	de	dfge	dndePe?e?doZle;dpgddqZme;drddLeAe	dMfdCdNeAe	dOfddsdte	due	dfge	dvd ePe?dwZne;dxge	dJd ePdyZoe;dzgddePd{Zpe;d|ge	d}dePd~Zqe;dge	ddZre;ddddte	dfgeGe	de?dZse;ddde?e	dfd1de?e	dfdkde?e	dfdde?e	dfge	ddZte;dge	ddePdZue;dge	de?dZve;dddde	de	dfge	ddZwe;dddde	de	dfge	ddZxe;dddLeAe	dMfdCdNeAe	dOfdKdeAe	dfge	dd ePe?dZye;ddde?e	dfgddZze;dge	de?dZ{e;dddne?e	dfdde?e	dfge	de?e?dZ|e;dddde	de	dfge	de?dZ}e;dge	ddZ~e;deEe	ddePdZe;dddddfddddfddddfgeDe	ddePdZe;dddge	de	dfddde	de	dfgeJeLeEeOe	ddePdZe;dddde	de	dfdde?e	dfddge	de	dfgeJe	ddZe;deEe	ddePdZe;dddge	de	dfddeAe	dfd4deAe	dfdde?e	dfddeAe	dfd}deAe	de	dNfgeGeMeCe	ddZe;ddde?e	dfdde?e	dfdkdle?e	dmfdde?e	dfdde?e	dfdGde?e	dfd1de?e	dfddge	de	dfdOdPe?e	dfdKdLe?e	dfg
eEe	ddePdZe;dddde	de	dfddeAe	dfdkdeAe	dfddeAe	dfgeHe	ddZe;d-d4de?e	dfdde?e	dfddde	dfge	ddePe?dZe;dddde	de	dfd1de?e	dfdde?e	dfdsde?e	dfddBe?e	dfdvde?e	dfgeDe	dd ePe?e?e?e?e?e?e?dZe;ddZdd	e	d
e	dbfdsdde	de	dfd4deAe	dfdde?e	d
fdde?e	dfdde?e	dfdde?e	dfdde?e	dfdde?e	dfg	eFeGeNe	de?dZe;ddde?e	dfd1de?e	dfddde	de	dJfddge	de	dfdvdeAe	d fdsdge	d!e	dfgeIeDeOe	d"d]d#Ze;d$eDe	d%dePded&Ze;d'ddde	d(e	dfdde?e	d)fdd*e?e	d+fgeEe	d,d-Ze;d.dde?e	dfdd/e?e	d0fdKdLde	d1e	dNfdd2e?e	d3fddge	d4e	dFfddge	d5e	dfdde?e	d6fdCd7e?e	d8fdOdPge	d9e	dRfdd:ge	d;e	dfdsdge	d<e	dfd=d>ge	d?e	dfgeIeEe	d@dePdAZe;dNddde	dBe	dfddeAe	dCfge	de?e?dDZe;dEdde?e	dFfddde	dGe	dfd=dHe?e	dIfgeMe	dJe?dKZ(e;dLdde?e	dfddge	dMe	dfd1de?e	dfdvdeAe	d fdsdge	dNe	dfgeIeDeOe	dOe?dPZe;dQddde	dRe	dfgeHe	dSdePe?dTZe;dUge	dVd ePe?dWZe;dXdZdYeAe	dZfdKd[eAe	d\fddeAe	d]fddeAe	d^fddge	d_e	dfge	d`daZdbZe;dcdOdde?e	defdde?e	dffddge	de	dfdvdgge	dhe	difdsdge	d!e	dfgeDe	djd]dkZe;dldde?e	dmfddge	dMe	dfdvdgge	dne	difdsdge	dNe	dfddoeAe	dpfgeDe	dqe?drZe;dsgdtZe;dudd#e?e	dvfdde?e	dwfgeEe	ddePdxZe;dydd#e?e	dzfdde?e	d%fgeEeCe	d{d|Ze;d}dkde?e	d~fdGde?e	dfdCde?e	dfdOde?e	dfd1de?e	dfgeMeEe	ddePdZe;ddkde?e	dfdKdLde	de	dNfddde	de	dfdde?e	dfgeEeCe	ddZe;deCddeAe	dfgdZe;dgdZe;dddde	de	dJfdKde?e	dfddde	de	dbfddde	de	dJfdZdde	de	dfdkdde	de	dfddde	de	dfd1dde	de	dfddde	de	dJfddde	de	dJfddde	de	dJfdde?e	dfddde	de	d#fddde	de	dYfddSde	de	dUfdde?e	dfddde	de	dJfge	dd ePdZdefdYZe;ddde?e	dfdCde?e	dfdkde?e	dfdde?e	dfdKde?e	dfdde?e	dfdOde?e	dfdde?e	dfd1de?e	dfdd2e?e	dfdde?e	d)fddge	de	dfddde	de	dfg
eEeOe	ddePdZe;ddde?e	dfgddZe;ddde?e	dfdGde?e	dfddde	de	dfdde?e	dfd4de?e	dfdCdDde	dEe	dFfgeGe	ddZe;dBgddZe;ddZd[e?e	d\fd]d^e?e	d_fgeHe	ddZe;ddOdde?e	dfge	ddZe;ddde?e	dfdde?e	dfdKdLde	de	dNfddde	de	dfgeMe	de?e?eAe?eAe?dZe;dgdZe;d*gdePdZdS(i(thextbintnullidtnullrevtshort(trelease(t_N(tserverttRt
repositorys8repository root directory or name of overlay bundle filetREPOtcwdschange working directorytDIRtytnoninteractivesBdo not prompt, automatically pick the first choice for all promptstqtquietssuppress outputtvtverbosesenable additional outputtconfigs5set/override config option (use 'section.name=value')tCONFIGtdebugsenable debugging outputtdebuggersstart debuggertencodingsset the charset encodingtENCODEtencodingmodesset the charset encoding modetMODEt	tracebacks%always print a traceback on exceptionttimestime how long the command takestprofilesprint command execution profiletversions#output version information and exitththelpsdisplay help and exitthiddensconsider hidden changesetstnsdry-runs)do not perform actions, just print outputtetsshsspecify ssh command to usetCMDt	remotecmds,specify hg command to run on the remote sidetinsecures>do not verify server certificate (ignoring web.cacerts config)tItincludes)include names matching the given patternstPATTERNtXtexcludes)exclude names matching the given patternstmtmessagesuse text as commit messagetTEXTtltlogfilesread commit message from filetFILEtdtdates(record the specified date as commit datetDATEtutusers&record the specified user as committertUSERtstyles,display using template map file (DEPRECATED)tSTYLEtTttemplatesdisplay with templatetTEMPLATEtptpatchs
show patchtgtgitsuse git extended diff formattlimits!limit number of changes displayedtNUMtMs	no-mergessdo not show mergeststats(output diffstat-style summary of changestGtgraphsshow the revision DAGtattextstreat all files as texttnodatessomit dates from diff headerstwsignore-all-spaces'ignore white space when comparing linestbsignore-space-changes+ignore changes in the amount of white spacetBsignore-blank-liness(ignore changes whose lines are all blanks
show-functions%show which function each change is intreverses&produce a diff that undoes the changestUtunifieds"number of lines of context to showttttoolsspecify merge tooltst
similaritys-guess renamed files by similarity (0<=s<=100)t
SIMILARITYtStsubrepossrecurse into subrepositoriess^adds[OPTION]... [FILE]...t	inferrepoc
Osbtj|d||}tj||||jd|jddddt}|r^dpadS(	sradd the specified files on the next commit

    Schedule files to be version controlled and added to the
    repository.

    The files will be added to the repository at the next commit. To
    undo an add before that, see :hg:`forget`.

    If no names are given, add all files to the repository.

    .. container:: verbose

       An example showing how new (unknown) files are added
       automatically by :hg:`add`::

         $ ls
         foo.c
         $ hg status
         ? foo.c
         $ hg add
         adding foo.c
         $ hg status
         A foo.c

    Returns 0 if all files are successfully added.
    tdry_runRXtprefixRtexplicitonlyiiN(tscmutiltmatchtNonetcmdutiltaddtgettFalse(tuitrepotpatstoptsR.trejected((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRas t	addremovecOsyt|jdpd}Wn&tk
rGtjtdnX|dks`|dkrxtjtdntj|||d|dS(sadd all new files, delete all missing files

    Add all new files and remove all missing files from the
    repository.

    New files are ignored if they match any of the patterns in
    ``.hgignore``. As with add, these changes take effect at the next
    commit.

    Use the -s/--similarity option to detect renamed files. This
    option takes a percentage between 0 (disabled) and 100 (files must
    be identical) as its parameter. With a parameter greater than 0,
    this compares every removed file with every added file and records
    those similar enough as renames. Detecting renamed files this way
    can be expensive. After using this option, :hg:`status -C` can be
    used to check which files were identified as moved or renamed. If
    not specified, -s/--similarity defaults to 100 and only renames of
    identical files are detected.

    Returns 0 if all files are successfully added.
    RUidssimilarity must be a numberis$similarity must be between 0 and 100gY@(tfloatRbt
ValueErrortutiltAbortRR]Ri(RdReRfRgtsim((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRis
s^annotate|blametrtrevsannotate the specified revisiontREVtfollows8follow copies/renames and list the filename (DEPRECATED)s	no-followsdon't follow copies and renamesslist the author (long with -v)tftfileslist the filenameslist the date (short with -q)tnumbers"list the revision number (default)tct	changesetslist the changesetsline-numbers(show line number at the first appearances3[-r REV] [-f] [-a] [-u] [-d] [-n] [-c] [-l] FILE...c
s5|jdrt|d<njr.tjp4tjtjfd}|smtjtdnj	r|t
ptddfdfddd	fd
dfdfdd|fddd
fdddfg}|jdr8|jd
r8|jdr8|jdr8t|d<n|jdd"k	}|r|jd
r|jdrtjtdng|D]*\}}}	|j|r|	|f^q}
|
dddf|
d<d}t
j||jd}t
j|||}
||
_|jd}tj|dd}x|j|
D]}||}|jdrtj|jrjtd|r|
j|p|qTn|jd|d|d|}g}x|
D]\}}g|D]\}}||^q}|rg|D]}|tj|f^q$}tg|D]\}}|^qO}|jg|D]'\}}d|d|||f^qwqqW|rTxGtt||D]0\}}jddj||dfqW|r-|d djd!r-jd!q-qTqTWd"S(#sshow changeset information by line for each file

    List changes in files, showing the revision id responsible for
    each line

    This command is useful for discovering when a change was made and
    by whom.

    Without the -a/--text option, annotate will avoid processing files
    it detects as binary. With -a, annotate will annotate the file
    anyway, although the results will probably be neither useful
    nor desirable.

    Returns 0 on success.
    RrRtcs|djS(Ni(R5(tx(tdatefunc(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt<lambda>
ss,at least one filename or pattern is requiredR8t csj|djS(Ni(t	shortuserR8(Rx(Rd(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRzsRucSst|djS(Ni(tstrRp(Rx((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRzsRwcs|djS(Ni(tnode(Rx(thexfn(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRzsR5cSs|djS(Ni(tpath(Rx((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRzstline_numbert:cSst|dS(Ni(R}(Rx((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRzss(at least one of -n/-c is required for -liRcSstjd||fdS(Ns%s: %s(RlRm(RxR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytbad'sRpt	no_followtsectiontannotateRJs%s: binary file
t
linenumbertdiffoptss%s%s%ss%s: %siis
N( RbtTrueRRlt	shortdatetdatestrt	cachefuncRmRt	debugflagRRR_R]t	revsingleR^RR@RtwalktbinarytdatatwritetrelRRtcolwidthtmaxtappendtziptjointendswith(RdReRfRgtgetdatetopmapRtoptseptfunctfuncmapRtctxR.RrRtabstfctxtlinestpiecesRsR#tdummyR1RxtsizedRLtmlR?((RyRRds6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs^
  
&7		
%,	%(%	9"(tarchives	no-decodes"do not pass files through decodersR[s%directory prefix for files in archivetPREFIXsrevision to distributettypestype of distribution to createtTYPEs[OPTION]... DESTc	Kstj||jd}|s9tjtdn|j}tj|||}t	j
j||jkrtjtdn|jdpt
j|pd}|jd}|dkr'|dkrtjtdntj||}|s't	j
j|jd	}q'ntj|||}tj|g|}t
j|||||jd
||d|jddS(
screate an unversioned archive of a repository revision

    By default, the revision used is the parent of the working
    directory; use -r/--rev to specify a different revision.

    The archive type is automatically detected based on file
    extension (or override using -t/--type).

    .. container:: verbose

      Examples:

      - create a zip file containing the 1.0 release::

          hg archive -r 1.0 project-1.0.zip

      - create a tarball excluding .hg files::

          hg archive project.tar.gz -X ".hg*"

    Valid types are:

    :``files``: a directory full of files (default)
    :``tar``:   tar archive, uncompressed
    :``tbz2``:  tar archive, compressed using bzip2
    :``tgz``:   tar archive, compressed using gzip
    :``uzip``:  zip archive, uncompressed
    :``zip``:   zip archive, compressed using deflate

    The exact name of the destination archive or directory is given
    using a format string; see :hg:`help export` for details.

    Each member added to an archive file has a directory prefix
    prepended. Use -p/--prefix to specify a format string for the
    prefix. The default is the basename of the archive, with suffixes
    removed.

    Returns 0 on success.
    Rps/no working directory: please specify a revisions%repository root cannot be destinationRtfilesR[t-s$cannot archive plain files to stdouts-%ht	no_decodeRXN(R]RRbRlRmRR~R`tmakefilenametosRtrealpathtroottarchivalt	guesskindtmakefileobjtbasenameR^R(	RdRetdestRgRR~tkindR[tmatchfn((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRHs&1$tbackouttmerges,merge with old dirstate parent after backouttparents4parent to choose when backing out merge (DEPRECATED)srevision to backouttedits invoke editor on commit messagess[OPTION]... [-r] REVcs|r$r$tjtdn|s3}n|sQtjtdn|jd}|r|tj||d<ntjtjtj	|j
jj\}}j
j|krtjtdnj
j\}}	|tkr2tjtdn|	tkr|jdsetjtdnj|d}
|
||	fkrtjtdt|
tfn|
}n-|jdrtjtd	n|}j}zjj}
j|
}tj	t|}|jd
r'|kr'z|jdd|jd
ddtj|tttt}j||tj||drjjtdn#td}|j|t|ddkSWd|jddddXnEtj dtjj!|
tj"||jjfd}tj#||g|}|s|jtddStj$||
|fd}|jtd|j
j%|f|jd
r|krtj |dt|jtd|j
j%zE|jdd|jd
ddtj&tj
j%SWd|jddddXnWd|j'XdS(sRreverse effect of earlier changeset

    Prepare a new changeset with the effect of REV undone in the
    current working directory.

    If REV is the parent of the working directory, then this new changeset
    is committed automatically. Otherwise, hg needs to merge the
    changes and the merged result is left uncommitted.

    .. note::

      backout cannot be used to fix either an unwanted or
      incorrect merge.

    .. container:: verbose

      By default, the pending changeset will have one parent,
      maintaining a linear history. With --merge, the pending
      changeset will instead have two parents: the old parent of the
      working directory and a new child of REV that simply undoes REV.

      Before version 1.7, the behavior without --merge was equivalent
      to specifying --merge followed by :hg:`update --clean .` to
      cancel the merge and leave the child of REV as a head to be
      merged separately.

    See :hg:`help dates` for a list of formats valid for -d/--date.

    Returns 0 on success, 1 if nothing to backout or there are unresolved
    files.
    s please specify just one revisions$please specify a revision to backoutR5s-cannot backout change that is not an ancestors'cannot backout a change with no parentsRs cannot backout a merge changesets%s is not a parent of %ss*cannot use --parent on non-merge changesetRRdt
forcemergeRSRRis1use 'hg resolve' to retry unresolved file merges
s1changeset %s backed out, don't forget to commit.
iNt
show_statscshtj|}|s:dt}tjdt}n|j||jd|jd|d|S(NsBacked out changeset %sRR8R5teditor(R`tgetcommiteditorRRtcommitRb(RdReR/R^RgR$(R~(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt
commitfuncs!snothing changed
ics djj|t|fS(Ns%d:%s(t	changelogRpR(R~(Re(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytnice	ss$changeset %s backs out changeset %s
smerging with changeset %s
((RlRmRRbt	parsedateR`tcheckunfinishedt
bailifchangedR]RR~tdirstatetparentsRtcommonancestorsheadsRtlookupRtwlocktbranchtbranchheadsRt	setconfigtmergemodtupdateRRct
setparentsthgt
_showstatsRdtstatustcleant	setbranchtrevertRtcommitstatusttipRR(RdReR~RpRgR5top1top2tp1tp2R?RRRtbheadstrctxtstatstmsgRtnewnodeR((R~Res6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs(	

	
##tbisecttresetsreset bisect statetgoodsmark changeset goodRsmark changeset badtskipsskip testing changesettextendsextend the bisect rangetcommands$use command to check changeset statetnoupdatesdo not update to targets[-gbsr] [-U] [-c CMD] [REV]cs#fdfd}tfd}|djkrjtd||d}
}}|
dkrtq|
dkrtqtnD|s|	t|dkrtjtd	ntj	r:j
d
}tjj
|r6tj|ndStj|rd}|
rydd
}Wqtk
rtjtdqXn9jj\}}|tkrtjtdnzx|r_|gd<tjtj|dit|d6dj}|dkr;d}nk|d
krPd}nV|dkrxtjtd|n.|d
krtjtd|nd}tj||}d}|j|jjtd|||f|dttjj \}}}|d
}|
stj!t"j#|dtqqWWd|gd<tjX|||dS|rgtj$|gD]}j%|^q}nj%dg}ssrOr
dc|7<n2r#dc|7<nr<dc|7<ntjn|s_dStjj \}}|	r2|s|}|dk	rj&td|j'|f|jgd<tj|
rdStj!t"j#|jSntjtdn|d
krN||nt(|dksft)|d
}d \}}x%||kr|d|d}}qWj j'|}j&td|t*|||f|gd<tj|
stj!t"j#|SdS(!s~
subdivision search of changesets

    This command helps to find changesets which introduce problems. To
    use, mark the earliest changeset you know exhibits the problem as
    bad, then mark the latest changeset which is free from the problem
    as good. Bisect will update your working directory to a revision
    for testing (unless the -U/--noupdate option is specified). Once
    you have performed tests, mark the working directory as good or
    bad, and bisect will either update to another candidate changeset
    or announce that it has found the bad revision.

    As a shortcut, you can also use the revision argument to mark a
    revision as good or bad without checking it out first.

    If you supply a command, it will be used for automatic bisection.
    The environment variable HG_NODE will contain the ID of the
    changeset being tested. The exit status of the command will be
    used to mark revisions as good or bad: status 0 means good, 125
    means to skip the revision, 127 (command not found) will abort the
    bisection, and any other non-zero exit status means the revision
    is bad.

    .. container:: verbose

      Some examples:

      - start a bisection with known bad revision 34, and good revision 12::

          hg bisect --bad 34
          hg bisect --good 12

      - advance the current bisection by marking current revision as good or
        bad::

          hg bisect --good
          hg bisect --bad

      - mark the current revision, or a known revision, to be skipped (e.g. if
        that revision is not usable because of another issue)::

          hg bisect --skip
          hg bisect --skip 23

      - skip all revisions that do not touch directories ``foo`` or ``bar``::

          hg bisect --skip "!( file('path:foo') & file('path:bar') )"

      - forget the current bisection::

          hg bisect --reset

      - use 'make && make tests' to automatically find the first broken
        revision::

          hg bisect --reset
          hg bisect --bad 34
          hg bisect --good 12
          hg bisect --command "make && make tests"

      - see all changesets whose states are already known in the current
        bisection::

          hg log -r "bisect(pruned)"

      - see the changeset currently being bisected (especially useful
        if running with -U/--noupdate)::

          hg log -r "bisect(current)"

      - see all changesets that took part in the current bisection::

          hg log -r "bisect(range)"

      - you can even get a nice graph::

          hg log --graph -r "bisect(range)"

      See :hg:`help revsets` for more about the `bisect()` keyword.

    Returns 0 on success.
    cs|dj}t|dkr|r6dp=d}ttd|Dt|@}|dkr|dj|dSndS(NiiRRcss|]}|jVqdS(N(R~(t.0ti((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>~s(RtlentsettancestorR_(tnodesRRtsidetnum(Retstate(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytextendbisectrangexs&cstji}t|dkr|rCjtdnjtd|j|d||}|dk	rjtd|qnQ|rjtdnjtdx|D]}|j|qW|jdS(NisThe first good revision is:
sThe first bad revision is:
isNot all ancestors of this changeset have been checked.
Use bisect --extend to continue the bisection from
the common ancestor, %s.
sCDue to skipped revisions, the first good revision could be any of:
sBDue to skipped revisions, the first bad revision could be any of:
(R`tshow_changesetRRRtshowR_tclose(RRt	displayert
extendnodeR#(RReRd(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytprint_results 
csv|ds|drrs.s.s.r8|r8dS|dsZtjtdqrtjtdntS(NRRs'cannot bisect (no known good revisions)s&cannot bisect (no known bad revisions)(RlRmRR(Rtinteractive(RRRR(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytcheck_states
sgood bad reset inits)(use of 'hg bisect <cmd>' is deprecated)
RRisincompatible argumentssbisect.stateNtcurrentis>current bisect revision is unknown - start a new bisect to fixs"current bisect revision is a mergetenvirontHG_NODEtouti}Risfailed to execute %ss	%s killedschangeset %d:%s: %s
RRt.s$Extending search to changeset %d:%s
snothing to extendis=Testing changeset %d:%s (%d changesets remaining, ~%d tests)
(ii(+RtsplittwarnRR_tboolRlRmR`RRRRtexiststunlinkthbisectt
load_statetLookupErrorRRRt
save_statetsystemRtfoutR]RRR~RRcRRRRRtrevrangeRRRpRtAssertionErrorR(RdReRptextraRRRRRRRRRtcmdR?t
changesetsR~RRt
transitionRRtbgoodRRtteststsize((RRRReRRRRds6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs]			,

	
		 

!

4



sbookmarks|bookmarktforcetrevisiontdeletesdelete a given bookmarktrenamesrename a given bookmarktNAMERtinactivesmark a bookmark inactives#hg bookmarks [OPTIONS]... [NAME]...c	s6|jd}|jd}|jd}|jd}|jd}fd}	tdfd}
|r|rtjtdn|r|rtjtd	n|r|rtjtd
n|r	|s|r	tjtdn|s!|s!|s!|r'j}zjdj}j	|rx\|D]T}
|
krtjtd
|
n|
j
krtjn|
=q[Wj
nU|r|stjtdn*t|dkrtjtdn|	|d}
|krFtjtd
|n|
|
||||
<j
|kr|rtj|
n|=j
nq|rd}x|D]}
|	|
}
|dkr|
}n|r|
j
krtjdS|}|r+tj|j}n|
|
|||||
<qW|r||kr|rtj|n+||kr|j
krtjnj
n]|rtdkrjtdqj
sjtdqtjnWd|jXnjr6tp9t}j	tdkrmjtdnxtjD]\}}j
}||krd\}}nd\}}jrj
d|d|qddtj|}j
d|||jj|||fd|qWdS(s|create a new bookmark or list existing bookmarks

    Bookmarks are labels on changesets to help track lines of development.
    Bookmarks are unversioned and can be moved, renamed and deleted.
    Deleting or moving a bookmark has no effect on the associated changesets.

    Creating or updating to a bookmark causes it to be marked as 'active'.
    The active bookmark is indicated with a '*'.
    When a commit is made, the active bookmark will advance to the new commit.
    A plain :hg:`update` will also advance an active bookmark, if possible.
    Updating away from a bookmark will cause it to be deactivated.

    Bookmarks can be pushed and pulled between repositories (see
    :hg:`help push` and :hg:`help pull`). If a shared bookmark has
    diverged, a new 'divergent bookmark' of the form 'name@path' will
    be created. Using :hg:'merge' will resolve the divergence.

    A bookmark named '@' has the special property that :hg:`clone` will
    check it out by default if it exists.

    .. container:: verbose

      Examples:

      - create an active bookmark for a new line of development::

          hg book new-feature

      - create an inactive bookmark as a place marker::

          hg book -i reviewed

      - create an inactive bookmark on another changeset::

          hg book -r .^ tested

      - move the '@' bookmark from another branch::

          hg book -f @
    RRpRRRcsA|j}|s*tjtdntj|d|S(Ns4bookmark names cannot consist entirely of whitespacetbookmark(tstripRlRmRR]t
checknewlabel(tmark(Re(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytcheckformat\s
c
s|kr|r|r||kr9||kr9dS|jj||jg}||}gD]B}|jddd|jdddkrm||j^qm}|j|kr||krtj||g|dSg|D].}||j|ks||kr|^q}	tj||	|tj||||rjt	d|t
|jfdSntjt	d|n||j
ks||jjkr|rtjt	dndS(Nt@iis%moving bookmark '%s' forward from %s
s.bookmark '%s' already exists (use -f to force)s5a bookmark cannot have the name of an existing branch(Rt	ancestorsRpRR~t	bookmarkstdeletedivergentt	validdestRRRRlRmt	branchmapRR(
ReR tcurRttargettanctbmctxRMtdivst
deletefrom(tmarksRd(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt
checkconflictds0
B
.
's&--delete and --rename are incompatibles#--rev is incompatible with --deletes#--rev is incompatible with --renamesbookmark name requiredRsbookmark '%s' does not existsnew bookmark name requiredis"only one new bookmark name allowediNsno bookmarks set
sno active bookmark
t*sbookmarks.currentR{Rs%s
tlabelis %s %s%s %d:%s
(R0sbookmarks.current(R{R(RbRcR_RlRmRRt	changectxR~t
_bookmarkst_bookmarkcurrentR$tunsetcurrentRRt
setcurrentR]RRRRRRtsortedt	iteritemsRRRRRp(RdRetnamesRgRRpRRRR!R/RR(R tnewactttgtRtbmarkR#RR[R1tpad((R.ReRds6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR&s0 	




	

					(Rs5set branch name even if it shadows an existing branchtCRs'reset branch name to parent branch names[-fC] [NAME]cKs|r|j}n|jdrJ|rJ|jd|jjdS|j}z|jdr|djj}|jj||j	t
d|n|rr|jdr"||jkr"|g|jD]}|j^qkr"t
jt
ddt
dq"ntj||d	|jj||j	t
d
||j	t
dnWd|jXdS(sset or show the current branch name

    .. note::

       Branch names are permanent and global. Use :hg:`bookmark` to create a
       light-weight bookmark instead. See :hg:`help glossary` for more
       information about named branches and bookmarks.

    With no argument, show the current branch name. With one argument,
    set the working directory branch name (the branch will not exist
    in the repository until the next commit). Standard practice
    recommends that primary development take place on the 'default'
    branch.

    Unless -f/--force is specified, branch will not let you set a
    branch name that already exists, even if it's inactive.

    Use -C/--clean to reset the working directory branch to that of
    the parent of the working directory, negating a previous branch
    change.

    Use the command :hg:`update` to switch to an existing branch. Use
    :hg:`commit --close-branch` to mark this branch as closed.

    Returns 0 on success.
    Rs%s
Ns%reset working directory to branch %s
Rs(a branch of the same name already existsthintsuse 'hg update' to switch to itRs&marked working directory as branch %s
s>(branches are permanent and global, did you want a bookmark?)
(RRbRRRRR_RRRRR'RRlRmR]RR(RdReR1RgRR?((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs* "+tbranchestactives+show only branches that have unmerged headstclosedsshow normal and closed branchess[-ac]cCs|jrtpt}t|j}g}xa|jjD]M\}}}	}
|
oltt||@}|j|||	||
fq@W|j	dddt
x9|D]1\}}}}
|s|r|rd}d}n9|
s|sqnd}td}nd}td	}||jj
kr<d
}nt|jjdtj|}|jd|||jfd
|j}|j||}|jr|jd|q|jd|||fqqWdS(slist repository named branches

    List the repository's named branches, indicating which ones are
    inactive. If -c/--closed is specified, also list branches which have
    been marked closed (see :hg:`commit --close-branch`).

    If -a/--active is specified, only show active branches. A branch
    is considered active if it contains repository heads.

    Use the command :hg:`update` to switch to an existing branch.

    Returns 0.
    tkeycSs&|d|dj|d|dfS(Niiii(Rp(R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRz3sROsbranches.activeRsbranches.closeds	 (closed)sbranches.inactives (inactive)sbranches.currentis%s:%sslog.changeset changeset.%ss%s
s%s %s%s
N(RRRRtheadsR'titerbranchesRRtsortRRRRR}RptrjustRRR1R~tphasestrRR(RdReRARBthexfunctallheadsR@ttagRDRtisclosedtisactiveRtisopenR1tnoticeRpt
labeledtag((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR@s:%"
		(	tbundles*run even when the destination is unrelateds3a changeset intended to be added to the destinations*a specific branch you would like to bundletBRANCHtbases;a base changeset assumed to be available at the destinationtalls'bundle all changesets in the repositorytbzip2sbundle compression type to uses;[-f] [-t TYPE] [-a] [-r REV]... [--base REV]... FILE [DEST]c	Kssd}d|kr+tj||d}n|jddj}idd6dd6dd6}|j|}|tjkrtjt	d	n|jd
rdg}ntj||jd}d}	|ra|rtjt	d
ng|D]}
|j
|
^q}|r.t|j
|p1|}tj|dd|d|d|	}
d}n|j
|ppd|pyd}tj||jd\}}tj|||}tj||||\}}|rt|j
|p|}tj||d|d|jddt}tj|d||	}
|
s\tj|||oT|jdStj|
||dS(screate a changegroup file

    Generate a compressed changegroup file collecting changesets not
    known to be in another repository.

    If you omit the destination repository, then hg assumes the
    destination will have all the nodes you specify with --base
    parameters. To create a bundle containing all changesets, use
    -a/--all (or --base null).

    You can change compression method with the -t/--type option.
    The available compression methods are: none, bzip2, and
    gzip (by default, bundles are compressed using bzip2).

    The bundle file can then be transferred using conventional means
    and applied to another repository with the unbundle or pull
    command. This is useful when direct push and pull are not
    available or when exporting an entire repository is undesirable.

    Applying bundles preserves all changeset contents including
    permissions, copy/rename information, and revision history.

    Returns 0 on success, 1 if no changes found.
    RpRRUtHG10UNtnonetHG10BZtHG10GZtgzips)unknown bundle type specified with --typeRTtnullRSs4--base is incompatible with specifying a destinationRQRDtcommont
bundlecapssdefault-pushtdefaultRt	onlyheadsRtportableiN(R_R]RRbtlowertchangegrouptbundletypesRlRmRRtmapt	getbundlet
expandpathRtparseurltpeert
addbranchrevst	discoverytfindcommonoutgoingRtgetlocalbundletnochangesfoundtexcludedtwritebundle(RdRetfnameRRgtrevst
bundletypetbtypesRSR]RpR\RDtcgtoutgoingR@tothertcheckout((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRQNsD&"		!	tcattotoutputs(print output to file with formatted nametFORMATsprint the given revisiontdecodes apply any matching decode filters[OPTION]... FILE...cOsStj||jd}tj||f||}tj||||d|S(s3output the current or given revision of files

    Print the specified files as they were at the given revision. If
    no revision is given, the parent of the working directory is used.

    Output may be to a file, in which case the name of the file is
    given using a format string. The formatting rules as follows:

    :``%%``: literal "%" character
    :``%s``: basename of file being printed
    :``%d``: dirname of file being printed, or '.' if in repository root
    :``%p``: root-relative path name of file being printed
    :``%H``: changeset hash (40 hexadecimal digits)
    :``%R``: changeset revision number
    :``%h``: short-form changeset hash (12 hexadecimal digits)
    :``%r``: zero-padded changeset revision number
    :``%b``: basename of the exporting repository

    Returns 0 on success.
    RpR(R]RRbR^R`Rx(RdRetfile1RfRgRR.((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRxss^clones@the clone will include an empty working copy (only a repository)t	updaterevs$revision, tag or branch to check outsinclude the specified changesetsclone only the specified branchtpulls"use pull protocol to copy metadatatuncompresseds)use uncompressed transfer (fast over LAN)s[OPTION]... SOURCE [DEST]tnorepocKs|jdr6|jdr6tjtdntj||||d|jdd|jdd|jdd|jdp|jdd	|jd	}|d
kS(sTmake a copy of an existing repository

    Create a copy of an existing repository in a new directory.

    If no destination directory name is specified, it defaults to the
    basename of the source.

    The location of the source is added to the new repository's
    ``.hg/hgrc`` file, as the default to be used for future pulls.

    Only local paths and ``ssh://`` URLs are supported as
    destinations. For ``ssh://`` destinations, no working directory or
    ``.hg/hgrc`` will be created on the remote side.

    To pull only a subset of changesets, specify one or more revisions
    identifiers with -r/--rev or branches with -b/--branch. The
    resulting clone will contain only the specified changesets and
    their ancestors. These options (or 'clone src#rev dest') imply
    --pull, even for local source repositories. Note that specifying a
    tag will include the tagged changeset but not the changeset
    containing the tag.

    If the source repository has a bookmark called '@' set, that
    revision will be checked out in the new repository by default.

    To check out a particular version, use -u/--update, or
    -U/--noupdate to create a clone with no working directory.

    .. container:: verbose

      For efficiency, hardlinks are used for cloning whenever the
      source and destination are on the same filesystem (note this
      applies only to the repository data, not to the working
      directory). Some filesystems, such as AFS, implement hardlinking
      incorrectly, but do not report errors. In these cases, use the
      --pull option to avoid hardlinking.

      In some cases, you can clone repositories and the working
      directory using full hardlinks with ::

        $ cp -al REPO REPOCLONE

      This is the fastest way to clone, but it is not always safe. The
      operation is not atomic (making sure REPO is not modified during
      the operation is up to you) and you have to make sure your
      editor breaks hardlinks (Emacs and most Linux Kernel tools do
      so). Also, this is not compatible with certain extensions that
      place their metadata under the .hg directory, such as mq.

      Mercurial will update the working directory to the first applicable
      revision from this list:

      a) null if -U or the source repository has no changesets
      b) if -u . and the source repository is local, the first parent of
         the source repository's working directory
      c) the changeset specified with -u (if a branch name, this means the
         latest head of that branch)
      d) the changeset specified with -r
      e) the tipmost head specified with -b
      f) the tipmost head specified with the url#branch source syntax
      g) the revision marked with the '@' bookmark, if present
      h) the tipmost head of the default branch
      i) tip

      Examples:

      - clone a remote repository to a new directory named hg/::

          hg clone http://selenic.com/hg

      - create a lightweight local clone::

          hg clone project/ project-feature/

      - clone from an absolute path on an ssh server (note double-slash)::

          hg clone ssh://user@server//home/projects/alpha/

      - do a high-speed clone over a LAN while checking out a
        specified version::

          hg clone --uncompressed http://server/repo -u 1.5

      - create a repository without changesets after a particular revision::

          hg clone -r 04e544 experimental/ good/

      - clone (and track) a particular named branch::

          hg clone http://selenic.com/hg#stable

    See :hg:`help urls` for details on specifying URLs.

    Returns 0 on success.
    RR~s.cannot specify both --noupdate and --updaterevRtstreamRRpRRN(RbRlRmRRtcloneR_(RdtsourceRRgRo((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRsks
^commit|citAs9mark new/missing files as added/removed before committingsclose-branchs7mark a branch as closed, hiding it from the branch listtamends#amend the parent of the working dirtsecrets#use the secret phase for committingc
s|jdrO|jdr6tjtdn|jddtdn|jddtj|dt|dj
}|j|}i|jd	rAd
d<|stjtdqA|jdrA|jd
j
j
|kr>|jd
jj
|kr>tjtdq>qAn|jdr|jddrztjtdn|djtjkrtjtdnt|djd
krtjtdntjrjrtjtdnfd}|j}j}tj|||||}	|	jkr|jtdd
S|r|jd|jt|	f|j}
x7|D]/}|	|
|<||krtj||qqW|
j qnfd}tj!|||||}	|	s|jdt"j#|d||}|dr|jtdt|dn|jtdd
Stj$||	|||dS(scommit the specified files or all outstanding changes

    Commit changes to the given files into the repository. Unlike a
    centralized SCM, this operation is a local operation. See
    :hg:`push` for a way to actively distribute your changes.

    If a list of files is omitted, all changes reported by :hg:`status`
    will be committed.

    If you are committing the result of a merge, do not provide any
    filenames or -I/-X filters.

    If no commit message is specified, Mercurial starts your
    configured editor where you can enter a message. In case your
    commit fails, you will find a backup of your message in
    ``.hg/last-message.txt``.

    The --amend flag can be used to amend the parent of the
    working directory with a new commit that contains the changes
    in the parent in addition to those currently reported by :hg:`status`,
    if there are any. The old commit is stored in a backup bundle in
    ``.hg/strip-backup`` (see :hg:`help bundle` and :hg:`help unbundle`
    on how to restore it).

    Message, user and date are taken from the amended commit unless
    specified. When a message isn't specified on the command line,
    the editor will open with the message of the amended commit.

    It is not possible to amend public changesets (see :hg:`help phases`)
    or changesets that have children.

    See :hg:`help dates` for a list of formats valid for -d/--date.

    Returns 0 on success, 1 if nothing changed.
    RXRscannot amend with --subreposRdtcommitsubreposRtphasess
new-committclose_branchiRscan only close branch headsis+cannot amend with ui.commitsubrepos enabledRscannot amend public changesetsscannot amend while mergings$cannot amend changeset with childrencsF|j||jdp!j|jdp9j|dS(NR8R5R(RRbR8R5(RdReR/R^Rg(Rtold(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs
	snothing changed
s"moving bookmarks %r from %s to %s
c	sz|jdrD|jdddd|jjddddn|j||jd|jd|dtj|dSWd|jddd|jjdddXdS(	NRRs
new-commitRR8R5RR(RbRtbaseuiRR`R(RdReR/R^Rg(Rtoldcommitphase(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs
!R^is4nothing changed (%d missing files, see 'hg status')
N(%RbRlRmRRRRR`RR_RRRRRt
configbooltphaseRtpublicRtobsoletet_enabledtchildrenR4R$RR~RRRR3R6RRR]R^R(
RdReRfRgRRRRR.R~tnewmarkstbmRF((RRRs6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR7sj/
""
	!		

%
sconfig|showconfig|debugconfigt	untrusteds$show untrusted configuration optionssedit user configtlocalsedit repository configtglobalsedit global configs[-u] [NAME]...toptionalrepocOsy|jds-|jds-|jdrk|jdrc|jdrctjtdn|jdr|stjtdn|jdg}n*|jdrtj}ntj}xT|D]}tj	j
|rPqqW|d}t|d}|jd	|j
|j}tjd
||fdtjdtd
d|jdSx%tjD]}|jd|qxWt|jd}|r1g|D]}	d|	kr|	^q}
g|D]}	d|	kr|	^q}t|dks|r1|
r1tjtdq1nt}x1|jd|D]\}
}}t|jdd}|
d|}|r*x|D]}	|	|
kr|jd|j|
|||jd||ft}q|	|kr|jd|j|
|||j|dt}qqWqJ|jd|j|
|||jd||ft}qJW|rudSdS(sshow combined config settings from all hgrc files

    With no arguments, print names and values of all config items.

    With one argument of the form section.name, print just the value
    of that config item.

    With multiple arguments, print names and values of all config
    items with matching section names.

    With --edit, start an editor on the user-level config file. With
    --global, edit the system-wide config file. With --local, edit the
    repository-level config file.

    With --debug, the source (filename and line number) is printed
    for each config item.

    See :hg:`help config` for more information about config files.

    Returns 0 on success, 1 if NAME does not exist.

    RRRs'can't use --local and --global togethers&can't use --local outside a repositorythgrciRLs# example config (see "hg help config" for more info)

[ui]
# name and email, e.g.
# username = Jane Doe <jdoe@example.com>
username =

[extensions]
# uncomment these lines to enable some popular extensions
# (see "hg help extensions" for more info)
# pager =
# progress =
# color =
s%s "%s"tonerrt	errprefixsedit failedRNsread config from: %s
RRisonly one config item permitteds
s\ns%s: s%s=%s
(RbRlRmRRR]tsystemrcpatht
userrcpathRRRtopenRRt	geteditorRR
trcpathRRRRct
walkconfigR}treplacetconfigsourceR(RdRetvaluesRgtpathsRstfpRRRtsectionstitemstmatchedRtnametvaluetsectname((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRsl-



%%"
				
scopy|cptafters'record a copy that has already occurreds+forcibly copy over an existing managed files[OPTION]... [SOURCE]... DESTcOs;|jt}ztj||||SWd|jXdS(s3mark files as copied for the next commit

    Mark dest as having copies of source files. If dest is a
    directory, copies are put in that directory. If dest is a file,
    the source must be a single file.

    By default, this command copies the contents of files as they
    exist in the working directory. If invoked with -A/--after, the
    operation is recorded, but no copying is performed.

    This command takes effect with the next commit. To undo a copy
    before that, see :hg:`revert`.

    Returns 0 on success, 1 if errors are encountered.
    N(RRcR`tcopyR(RdReRfRgR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR+st
debugancestors[INDEX] REV1 REV2c	Gst|dkrT|\}}}tjtjtjdt|}|j}nft|dkr|stj	t
dn|\}}|j}|j}ntj	t
d|j||||}|j
d|j|t|fdS(s<find the ancestor revision of two revisions in a given indexitauditis5there is no Mercurial repository here (.hg not found)s&either two or three arguments requireds%d:%s
N(RtrevlogR]topenerRtgetcwdRcRRlRmRRRRRpR(	RdRetargstindextrev1trev2RoRRI((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRFs'	t
debugbuilddagsmergeable-files!add single file mergeable changessoverwritten-files"add single file all revs overwritesnew-filesadd new file at each revs[OPTION]... [TEXT]c(s|d$kr1|jtd|jj}n|j}t|dkrdtjtdnd}x6t	j
|D]%\}}	|dkrz|d7}qzqzW|rd}
gtd||
D]}t|^q}|j
dng}
d$}}z|j}|jd}d	}d
}g}d}|jtd|dtd
d|xt	j
|D]\}}	|dkr|jdt|	|	\}}g}id$}|rd}||d}t|dkr~||d}|j|}g|||fD]}||j^q\}}}tj|||}g|jD]}|j^qV} | j
dn.|dkr||jjd} n|} | ||
cd|7<dj| }!|j
|tj|||!|<n|r5d}|j
|tj||d||<n|rd|}|j
|tj||d||<t|dkr|s||d}nx>|D]3}|jdr|j
||||<qqWqnfd}"t|dks
|ddkrd$d$g}#nFt|dkrE||dd$g}#ng|D]}$||$^qL}#tj||#d|||"d|dfdddi|d6}%|j|%}&|j
|&|}n{|dkr|	\}}'|jd|'|
j
d t|jj ||'fn&|d!kr@|jd"|	|	}n|jtd|dtd
d|qiW|j!|
r|j"j#d#dj|
nWd$|jtdd$t$||Xd$S(%sbuilds a repo with a given DAG from scratch in the current empty repo

    The description of the DAG is read from stdin if not given on the
    command line.

    Elements:

     - "+n" is a linear run of n nodes based on the current default parent
     - "." is a single node based on the current default parent
     - "$" resets the default parent to null (implied at the start);
           otherwise the default parent is always the last node created
     - "<p" sets the default parent to the backref p
     - "*p" is a fork at parent p, which is a backref
     - "*p1/p2" is a merge of parents p1 and p2, which are backrefs
     - "/p2" is a merge of the preceding node and p2
     - ":tag" defines a local tag for the preceding node
     - "@branch" sets the named branch for subsequent nodes
     - "#...\n" is a comment up to the end of the line

    Whitespace between the above elements is ignored.

    A backref is either

     - a number n, which references the node curr-n, where curr is the current
       node, or
     - the name of a local tag you placed earlier using ":tag", or
     - empty to denote the default parent.

    All string valued-elements are either strictly alphanumeric, or must
    be enclosed in double quotes ("..."), with "\" as escape character.
    sreading DAG from stdin
isrepository is not emptyR#iiRtbuilddagiR^tbuildingtunitt	revisionsttotalsnode %s
tmfs
s r%itofsr%i
snf%itnfcs
j|S(N(Rb(RetcxR(tfctxs(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytfctxfnssr%iR5R8RRRR1stag %s
s%s %s
RIs
branch %s
t	localtagsN(%R_RRtfintreadRRRlRmt	dagparsertparsedagtxrangeR}RtlockttransactiontprogresstnoteRRtsimplemerget
Merge3Texttmerge_linesRRRtcontextt
memfilectxt
startswithtmemctxt	commitctxRR~RRRR((RdReRJtmergeable_filetoverwritten_filetnew_filetclRRRtlinesperrevRtinitialmergedlinesttagsRttrtattatbranchtnodeidstidtpsRRtfnRtpaRxRSRRvtm3R1Rt
mergedtextRtparsR?RtnodeidR((Rs6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRYs)	,
(	,%

 



"
	,	,
#tdebugbundlesshow all detailsc
s'tj|}ztj|||rjdfd}j}|dj}|dxtrj}|sPn|d}||q~Wn_j}d}xJtrj
|}|sPn|d}	jdt|	|	}qWWd|jXdS(	slists the contents of a bundles1format: id, p1, p2, cset, delta base, len(delta)
c		sjd|d}xtrj|}|s9Pn|d}|d}|d}|d}|d}|d}jdt|t|t|t|t|t|f|}qWdS(	Ns
%s
R~RRtcst	deltabasetdeltas%s %s %s %s %s %s
(RR_Rt
deltachunkRR(	tnamedtchaint	chunkdataR~RRRRR(tgenRd(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt
showchunkss 	





	#RtmanifesttfilenameR~s%s
N(
Rtopenpathtexchanget
readbundleRtchangelogheadertmanifestheaderRt
filelogheaderR_RRR(
Rdt
bundlepathRTRgRsRRRpRR~((RRds6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs4


	
	
tdebugcheckstatec
Cs|jj\}}||j}||j}d}x|jD]}|j|}|dkr||kr|jtd||f|d7}n|dkr||kr|jtd||f|d7}n|dkrE||krE||krE|jtd||f|d7}qEqEWxQ|D]I}|j|}|d	kr5|jtd
||f|d7}q5q5W|rtd}	tj|	ndS(
s0validate the correctness of the current dirstateitnrs%%s in state %s, but not in manifest1
iRIs&%s in state %s, but also in manifest1
R.s+%s in state %s, but not in either manifest
tnrms'%s in manifest1, but listed as state %ss8.hg/dirstate inconsistent with current parent's manifestN(RRRRRRlRm(
RdRetparent1tparent2tm1tm2terrorsRsRterror((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR%s0


$

t
debugcommandss	[COMMAND]cGsx}ttjD]i\}}|jddjd}djg|dD]}|d^qL}|jd||fqWdS(s'list all available commands and optionst|it^s, is%s: %s
N(R7ttableR8RRRR(RdRRtvalsRRg((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRAs*t
debugcompletetoptionssshow the command optionss[-o] CMDcKsN|jdrg}tg}|rStj|tt\}}|j|dnxl|D]d}x[|D]S}d|dkrqgn|dr|jd|dn|jd|dqgWqZW|jdd	j|d
Stj	|t}	|j
r*g|	jD]}
dj|
d^q}	n|jdd	jt|	d
S(s=returns the completion list associated with the given commandRis(DEPRECATED)iis-%ss--%ss%s
s
NR{(
Rbt
globaloptsR`tfindcmdR	RcRRRtfindpossibleRRR7(RdRRgRtotablestaliasestentryRRRytcmdlistRv((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRIs&	


	/tdebugdagRsuse tags as labelssannotate with branch namestdotssuse dots for runstspacessseparate elements by spacessPTION]... [FILE [REV]...]cs|jd}|jd}|rvtjtjtjdt|tdDfd}n|r|j|jd|jdrixE|j	j
D].\}}	jj|	gj
|qWnfd}ntjtd	xXtj|d
|dtdtd
|d|ddD] }
|j|
|jdq^WdS(sformat the changelog or an index DAG as a concise textual description

    If you pass a revlog index, the revlog's DAG is emitted. If you list
    revision numbers, they get labeled in the output as rN.

    Otherwise, the changelog DAG of the current repo is emitted.
    RRRcss|]}t|VqdS(N(tint(RRo((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>xsc3sixbD]Z}d|ttdj|DffV|krd|d|ffVqqWdS(NR#css!|]}|dkr|VqdS(iN((RR?((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>{sR1sr%i(tlistRt
parentrevs(Ro(Rqtrlog(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyteventsys
0RR@c3sd}xD]}r\jj|dd}||kr\d|fV|}q\nd|ttdj|DffVr
j|}|rx"|D]}d||ffVqWqq
q
WdS(NR^iRRIR#css!|]}|dkr|VqdS(iN((RR?((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>sR1(RR~RRRRb(RMRotnewbtlsR1(R@RtlabelsR(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs
 0
sneed repo for changelog dagt	addspacest
wraplabelstwrapannotationst
wrapnonlineartusedotstmaxlinewidthiFs
N(RbRR]RRRRcRRRRt
setdefaultRpRRlRmRRtdagtextlinesRR(RdRetfile_RqRgRRRR1R#tline((R@RRRqRRs6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRes2'	)

t	debugdataRsopen changelogRs
open manifests-c|-m|FILE REVcKs|jds|jdr.d|}}n'|dkrUtjdtdntj|d||}y#|j|j|j	|Wn*t
k
rtjtd|nXdS(s)dump the contents of a data file revisionRRR)sinvalid argumentssinvalid revision identifier %sN(
RbR_RtCommandErrorRR`t
openrevlogRRRtKeyErrorRlRm(RdReR'RpRgRo((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR)s#
t	debugdatetextendedstry extended date formatss[-e] DATE [RANGE]cKs|dr"tj|tj}ntj|}|jd||jdtj||rtj|}|jd||dndS(sparse and display a dateR.sinternal: %s %s
s
standard: %s
s
match: %s
iN(RlRtextendeddateformatsRRt	matchdate(RdR5trangeRgR4R.((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR-s
tdebugdiscoveryRsuse old-style discoverytnonheadss/use old-style discovery with non-heads includeds([-l REV] [-r REV] [-b BRANCH]... [OTHER]R^cstjj|jd\}}tj|}jtdtj|t	j
d|fd}jd}|rx4|D]}t|d}	z|	j}
x|
rv|
j
jd}|d}|d	krnl|d
kr1||djd|d
jdn6|dkrg||d
jd|djdn|	j}
qWWd|	jXqWnCtj||jd\}
}jd}|||
dS(s2runs the changeset discovery protocol in isolationRscomparing with %s
i#0csjdr|r'tjdntj|dsQtj|j}ntj|dt	\}}}t
|}jdsjddjt
d|Dtjj}|j|j|}|j|j|}qntj|\}}}t
|}t
|}	t
j}
jd	djt
d
|D|
|krjdn|	|krjdndS(
NRs.cannot use localheads with old style discoveryR@RR3sunpruned common: %s
R{css|]}t|VqdS(N(R(RR#((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>sscommon heads: %s
css|]}t|VqdS(N(R(RR#((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>sslocal is subset
sremote is subset
(RbRlRmtsafehasattrt	localrepotlocallegacypeerRt
treediscoverytfindcommonincomingRRRRR7tdagutilt	revlogdagRtancestorsettinternalizealltexternalizealltheadsetofconnectedstsetdiscoverytfindcommonheadsRD(t
localheadstremoteheadstremoteR\t_inthdstdagRTtanytrheadstlheads(RgReRd(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytdoits0	!	!t	serverlogRot;iRttcgssiR{itunbNtremote_headt
local_head(RRgRfRbRhRRRlthidepasswordtrandomtseedRtreadlineRRRRi(RdRet	remoteurlRgR@RCRJt
serverlogsRR2R(tpartsRt
remoterevst	_checkoutt	localrevs((RgReRds6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR2s6 

	
**tdebugfilesets#apply the filespec on this revisions[-r REV] FILESPECcKs|tj||jdd}|jrMtj|d}|j|dnx(|j|D]}|j	d|q]WdS(s'parse and apply a fileset specificationRpis
s%s
N(
R]RRbR_RtfilesettparseRt
getfilesetR(RdRetexprRgRttreeRs((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR[	s	tdebugfsinfos[PATH]RcCstjdd|jdtj|r.dp1d|jdtj|rTdpWd|jdtj|rzdp}d|jdtjdrdpdtjdd	S(
s2show information detected about current filesystems.debugfsinfoRs	exec: %s
tyestnossymlink: %s
s
hardlink: %s
scase-sensitive: %s
N(	Rlt	writefileRt	checkexect	checklinkt
checknlinkt	checkcaseRR(RdR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRas&&&tdebuggetbundletHtheadsid of head nodetIDR\sid of common nodesREPO FILE [-H|-C ID]...cKs0tj|||}|jds6tjdni}|rhg|D]}t|^qI|d<n|rg|D]}t|^qu|d<nd|d<|jd|}	|jddj	}
id	d
6dd6dd
6}|j|
}
|
t
jkrtjtdnt
j
|	||
dS(sretrieves a bundle from a repo

    Every ID must be a full-length hex node id string. Saves the bundle to the
    given file.
    Res.getbundle() not supported by target repositoryR\RDR]RRRURVRWRXRYRZs)unknown bundle type specified with --typeN(RRhtcapableRlRmRR_ReRbRaRbRcRRo(RdtrepopathRRkR\RgReRRTRQRrRs((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRi!s &&
tdebugignorecOsW|jj}t|dd}|dk	r>|jd|ntjtddS(s#display the combined ignore patternt
includepats%s
sno ignore patterns foundN(Rt_ignoretgetattrR_RRlRmR(RdReRRgtignoreRp((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRo@s
t
debugindextformatis
revlog formats[-f FORMAT] -c|-m|FILEc
Ks2tj|d||}|jdd}|dkrRtjtd|n|jtj@}|rqd}nd}|dkr|j	d|d	n$|dkr|j	d
|dnxl|D]d}|j
|}	|r|j|}
n|j|}
|dkry|j
|	}Wntk
r@ttg}nX|j	d||j||j||
|j|t|	t|dt|dfq|dkr|j|}|j	d
||j||j||j||j||
|j||d|dt|	f
qqWdS(s"dump the contents of an index fileRtRuiisunknown format %ds deltas  bases   rev    offset  length s& linkrev nodeid       p1           p2
s'   rev flag   offset   length     size s#   link     p1     p2       nodeid
s"% 6d % 9d % 7d % 6d % 7d %s %s %s
s0% 6d %04x % 8d % 8d % 8d % 6d % 6d % 6d % 6d %s
N(ii(R`R+RbRlRmRRRtREVLOGGENERALDELTARR~tdeltaparentt	chainbaseRt	ExceptionRtstarttlengthtlinkrevRRtflagstrawsize(
RdReR'RgRoRutgeneraldeltatbasehdrRR~RStpptpr((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRtJs>	

	*.	3t
debugindexdotcCsd}|r3|j|}t|r3|}q3n|sctjtjtjdt|}n|j	dx|D]}|j
|}|j|}|j	d|j|d|f|dt
krw|j	d|j|d|fqwqwW|j	ddS(s(dump an index DAG as a graphviz dot fileRsdigraph G {
s
	%d -> %d
iis}
N(R_RtRRR]RRRRcRR~RRpR(RdReR'RotfilelogRR~R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRys*

$+tdebuginstallcCsd}d}|jtdtjytjdWnDtjk
r}|jd||jtd|d7}nX|jtdtj|jtd	d
tj	d |jtdt
jjt
j
|jtd
t
jjt
y\ddl}ddl}ddl}ddl}t|t|t|t|fWnTtk
r}|jd||jtd|jtd|d7}nXddl}|j}	|jtddj|	|	ri|jd}
|
rMy|j|
Wqftk
rI}|jd|d}	qfXq||jtdd}	n|jtd|	s|jtd|d7}n|jtd|j}tjtj|d}|sO|dkr|jtd|jtdqO|jtd||jtd|d7}n|jtdy|jWnDtjk
r}
|jd|
|jtd|d7}nX|s|jtdn|jtd ||S(!s;test Mercurial installation

    Returns 0 on success.
    cSsEtjdd\}}tj|d}|j||j|S(NR[shg-debuginstall-twb(ttempfiletmkstempRtfdopenRR(tcontentstfdRRs((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt	writetemps


ischecking encoding (%s)...
ttests %s
s* (check that your locale is properly set)
is checking Python executable (%s)
schecking Python version (%s)
s%s.%s.%sischecking Python lib (%s)...
s#checking installed modules (%s)...
iNs* One or more extensions could not be founds* (check that you compiled the extensions)
schecking templates (%s)...
R{smap-cmdline.defaults template 'default' not found
s no template directories found
s5 (templates seem to have been installed incorrectly)
schecking commit editor...
ssensible-editors= No commit editor set and can't find sensible-editor in PATH
s6 (specify a commit editor in your configuration file)
s  Can't find editor '%s' in PATH
schecking username...
s1 (specify a username in your configuration file)
sno problems detected
s1%s problems detected, please check your install!
(RRRt	fromlocalRlRmRtsyst
executabletversion_infoRRtdirnamet__file__tbdifftmpatchtbase85tosutiltdirRyt	templaterttemplatepathRR_RtfindexetshlexRtusername(RdRtproblemstinstRRRRRR?R.RtcmdpathR$((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs~	0, 
	

t
debugknowns
REPO ID...cOstj|||}|jds6tjdn|jg|D]}t|^qC}|jddjg|D]}|rdpd^qtdS(stest whether node ids are known to a repo

    Every ID must be a full-length hex node id string. Returns a list of 0s
    and 1s indicating unknown/known.
    tknowns*known() not supported by target repositorys%s
Rt1t0N(	RRhRmRlRmRRRR(RdRntidsRgReRTR}Rs((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs
(tdebuglabelcompletesLABEL...cst}|jd|jD|j|jj|jd|jjDt}|szdg}nx+|D]#|jfd|DqW|jdjt	||jddS(s;complete "labels" - tags, open branch names, bookmark namescss|]}|dVqdS(iN((RRR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>	scss'|]\}}}}|s|VqdS(N((RRKRDRRB((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>	sRc3s$|]}|jr|VqdS(N(R(RR1(RI(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>	ss
N(
RRttagslistR3tkeysR'RERRR7(RdReRRtcompletions((RIs6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs		
!t
debugobsoleteR}smarkers flags#[OBSOLETED [REPLACEMENT] [REPL... ]csAd|dk	ri}d|kr8|d|d<n|dpK|j|d<tfd|D}|j}z|jd}zgy4|jj||||d||jWn,tk
r}	t	j
td|	nXWd|jXWd|jXn*x't
j|D]}
tj||
q#WdS(	sccreate arbitrary obsolete marker

    With no arguments, displays the list of obsolescence markers.cSs_y8t|}t|ttkr3tn|SWn tk
rZtjdnXdS(Ns>changeset references must be full hexadecimal node identifiers(RRRt	TypeErrorRlRm(RTR#((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytparsenodeid	s
R5R8c3s|]}|VqdS(N((Rtsucc(R(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>'	sRR}sbad obsmarker input: %sN(R_RttupleRRtobsstoretcreateRRkRlRmRRRt
allmarkersR`t
showmarker(RdRet	precursort
successorsRgtmetadatatsuccsR1RtexcR.((Rs6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR	s*		
!tdebugpathcompletetfullscomplete an entire pathtnormalsshow only normal filestaddedsshow only added filestremovedsshow only removed filessFILESPEC...cs!fd}d}dr/|d7}ndrF|d7}ndr]|d7}nj|s{d	g}ntt}}xC|D];}|||pd
\}	}
|j|	|j|
qW|j||jdjfdt|D|jdd
S(s)complete part or all of a tracked path

    This command supports shells that offer path name completion. It
    currently completes only files already known to the dirstate.

    Completion extends only to the next path segment unless
    --full is specified, in which case entire paths are used.csj}tjjtjjtj|}jtj}|jkri|j|riggfStjj	|r|d7}n|t
|}tjdk}|r|jtjd}nt
|}d}tt}}	|	j
|j
}
}x|jD]\}}
|j|r|
d|kr|rW|jdtj}n|rm||qn|jtj|}|dkr|
|| q||qqW||	fS(Nt/Ri(RRRtnormpathRRRRRtisdirRRRRaR8tfind(Rt
acceptableRtspectrootdirtfixpathstspeclent	fullpathsRtdirstadddirtaddfileRststRT(RgRe(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytcompleteI	s6	'



RRtnmRRIRRoRtnmars
c3s!|]}j|VqdS(N(tpathto(RR?(RRe(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>x	sN(RRRRRR7(RdRetspecsRgRRRRRRsR4((RRgRes6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR:	s&








/tdebugpushkeysREPO NAMESPACE [KEY OLD NEW]cOstj|i|}|r^|\}}}|j||||}	|jt|	d|	SxRt|j|jD]5\}
}|jd|
j	d|j	dfqzWdS(saccess the pushkey key/value protocol

    With two args, list the keys in the given namespace.

    With five args, set a key to new if it currently is set to old.
    Reports success or failure.
    s
s%s	%s
s
string-escapeN(
RRhtpushkeyRR}R7tlistkeysR8Rtencode(RdRnt	namespacetkeyinfoRgR)RCRtnewRotkR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR{	s
(t	debugpvecsA Bc	Cs7tj||}tj||}tj|}tj|}||krWd}n=||krld}n(||krd}n||Brd}n|jtd||jtd||jtd|j|jf|jtdt|j|jtj|j	|j	|j
||fdS(	Nt=t>t<Rsa: %s
sb: %s
sdepth(a): %d depth(b): %d
s.delta: %d hdist: %d distance: %d relation: %s
(R]RtpvectctxpvecRRt_depthRt_hammingt_vectdistance(	RdReRIRMtcatcbRtpbR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR	s$			
	#(s&debugrebuilddirstate|debugrebuildstatesrevision to rebuild tos[-r REV]cCsStj||}|j}z#|jj|j|jWd|jXdS(srebuild the dirstate as it would look like for the given revision

    If no revision is specified the first current parent will be used.

    The dirstate will be set to the files of the given revision.
    The actual working directory content or existing dirstate
    information such as adds or removes is not considered.

    One use of this command is to make the next :hg:`status` invocation
    check the actual file content.
    N(R]RRRtrebuildR~RR(RdReRpRR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytdebugrebuilddirstate	s
#tdebugrenamesrevision to debugs
[-r REV] FILEcOstj||jd}tj||f||}x|j|D]}||}|jj|j}	|j|}
|	r|j	t
d|
|	dt|	dfqG|j	t
d|
qGWdS(sdump rename informationRps%s renamed from %s:%s
iis%s not renamed
N(R]RRbR^RRtrenamedtfilenodeRRRR(RdReR}RfRgRR.RRRyR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR	s
1tdebugrevlogtdumpsdump index datas
-c|-m|FILEc.stj|d||}|jdrrt|}|jdd}t}xt|D]}|j|}	|	dkr|}	n|j|}
|j	|\}}|j
|}
||
}|t|j	|8}|j||jd||||j||j
||j|	|j|
|j||j||
|||j
|t|f
q\WdS|j}|d@}g}t}|tj@r|jdn|tj@rt}|jd	n|sd
g}nd}d}d}d}d}d}d}d}g}d+ddg}d+ddg}d+ddg}d}t|}xtt|D]f}|j	|\}}|j|}|dkr||j
||n|tkr|d
7}n|j|} |tkr|jd|d
7}|| |qh|j||d
|| |||d
kr|d
7}||krg|d
7}q||kr|d
7}qqh||kr|d
7}qh||kr|d
7}qh|tkrh|d
7}qhqhWx4|||fD]#} | dd+krd| d<qqW||}!|||}"|d}#|dc|:<|d}$|dc|:<|d}%||dkr|dc||:<n|$|%}&t||}'|#|&}(ddfd})dfd}*d}+|jd||jddj||jd|*|&},|)|&}-|jd|-||jd|,|+|||jd|,|+||||jd|-||jd|,|+|||jd|,|+|!||jd|-|&|jd|,|+|$|&|jd|,|+|%|&|jd|)t|'|(},|jd|,|'|jd|,|(|dkr|jd|jd t|n|jd!t||jd"t||!dkr|jd|*|!},|*|!d#}-|jd$|,|+||!|dkr|jd%|-|+|||jd&|-|+|||jd'|-|+|"|n|r|jd(|,|+||!|jd)|,|+||!|jd*|,|+||!qnd+S(,s'show data and statistics about a revlogRRs\# rev p1rev p2rev start   end deltastart base   p1   p2 rawsize totalsize compression heads
iis6%5d %5d %5d %5d %5d %10d %4d %4d %4d %7d %9d %11d %5d
itinlineRs(none)lcSs^|ddks ||dkr-||d<n||dkrJ||d<n|dc|7<dS(Niii(R_(RR1((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytaddsize
s
 

iis%%%dd
s%%%dd %s(%%5.2f%%%%)
cstt|S(N(RR}(R(tbasedfmtstr(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytdfmtstr@
scstt|d|fS(NR{(RR}(Rtpadding(tbasepcfmtstr(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytpcfmtstrB
scSs|dt||fS(Nid(Rj(RR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytpcfmtE
ssformat : %d
sflags  : %s
s, s
srevisions     : s    merges    : s    normal    : s    full      : s    deltas    : srevision size : savg chain length  : scompression ratio : s4uncompressed data size (min/max/avg) : %d / %d / %d
s4full revision size (min/max/avg)     : %d / %d / %d
s4delta size (min/max/avg)             : %d / %d / %d
isdeltas against prev  : s    where prev = p1  : s    where prev = p2  : s    other            : sdeltas against p1    : sdeltas against p2    : sdeltas against other : N(R`R+RbRRRRRwRxRR~RaRztendRRcRtREVLOGNGINLINEDATARRvRR_RR{tsumRRR(.RdReR'RgRotnumrevsttsRDRptdbasetcbaseRRtrsRRuR}tgdeltat	nummergestnumfulltnumprevtnump1tnump2tnumothert	nump1prevt	nump2prevtchainlengthstdatasizetfullsizet	deltasizeRRRt	numdeltastnumoprevttotalrawsizet	fulltotalt
deltatotalt	totalsizetavgchainlent	compratioRRRtfmttfmt2((RRs6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR	s
		

	!+	


	













	
"

			
		tdebugrevspectoptimizes"print parsed tree after optimizingtREVSPECc
Ks|jrtj|d}|jtj|dtj||}||kro|jtj|dn|drtj|t\}}|jdtj|dqntj||}x1||tj	|D]}	|j
d|	qWdS(sparse and apply a revision specification

    Use --verbose to print the parsed tree before and after aliases
    expansion.
    is
Rs
* optimized:
s%s
N(RtrevsetR]RtprettyformattfindaliasesRRR^tspansetR(
RdReR_RgR`tnewtreetweightt
optimizedtreeRRv((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRz
s		
"tdebugsetparentssREV1 [REV2]cCsetj||j}tj||dj}|j}z|j||Wd|jXdS(smanually set the parents of the current working directory

    This is useful for writing repository conversion tools, but should
    be used with care.

    Returns 0 on success.
    R[N(R]RR~RRR(RdReRRtr1tr2R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR
s
sdebugdirstate|debugstatesdo not display the saved mtimetdatesortssort by saved mtimes[OPTION]...cCsrd}|}|rd}nd}xt|jjjd|D]\}}|r|ddkrttjdtjd}	d}||	 d	|	t|}qtjdtj|d}n|d
d@rd}
nd
|d
d@t	j
@}
|jd|d|
|d||fqDWx@|jjD]/}|jt
d|jj||fq;WdS(s)show the contents of the current dirstateRcSs|dd|dfS(Niii((Rx((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRz
sRCiis%Y-%m-%d %H:%M:%S itunsetR{ii tlnks%3ois%c %s %10d %s%s
iscopy: %s -> %s
N(R_R7Rt_mapR8RRtstrftimet	localtimeRltumaskRtcopiesRtcopied(RdReRKR ttimestrtshowdatetkeyfuncR'tentt
locale_lentmodeRs((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt
debugstate
s*+		,tdebugsubsrevision to checks[-r REV] [REV]cCsztj||d}x^t|jjD]G\}}|jd||jd|d|jd|dq+WdS(Nspath %s
s
 source   %s
is
 revision %s
i(R]RR_R7tsubstateRR(RdReRpRRR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR0
s
"tdebugsuccessorssetss[REV]c
Gsi}t}t}|jr0d}t}nxtj||D]}||}|jd||xtj||j	|D]u}|r|jd|j||dx5|dD]&}	|jd|j||	qWn|jdqWqCWdS(	sSshow set of successors for revision

    A successors set of changeset A is a consistent group of revisions that
    succeed A. It contains non-obsolete changesets only.

    In most cases a changeset A has a single successors set containing a single
    successor (changeset A replaced by A').

    A changeset that is made obsolete with no successors are called "pruned".
    Such changesets have no successors sets at all.

    A changeset that has been "split" will have a successors set containing
    more than one successor.

    A changeset that has been rewritten in multiple different ways is called
    "divergent". Such changesets have multiple successor sets (each of which
    may also be split, i.e. have multiple successors).

    Results are displayed as follows::

        <rev1>
            <successors-1A>
        <rev2>
            <successors-2A>
            <successors-2B1> <successors-2B2> <successors-2B3>

    Here rev2 has two possible (i.e. divergent) successors sets. The first
    holds one element, whereas the second holds three (i.e. the changeset has
    been split).
    cSs
|jS(N(R(R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytctx2str
ss%s
s    iiR{s
N(
R}RRRR]RRRtsuccessorssetsR~(
RdReRqtcacheR3tnode2strRpRtsuccssetR~((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR2
s"#		
"

t	debugwalkc
Os(tj|d||}t|j|}|s8dSd}|jddrntjdkrnd}ndtg|D]}t	|^q{tg|D]}t	|j
|^qf}x\|D]T}||||j
||j|rdpd	f}	|jd
|	j
qWdS(s&show how files match on given patternsNcSs|S(N((R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRzsRdtslashRcSs
tj|S(N(RlR(R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRz
ssf  %%-%ds  %%-%ds  %%stexactRs%s
(R]R^R_RRRRRRRRR:Rtrstrip(
RdReRfRgR.RRsRRR(((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR8s	!"2
7t
debugwireargstthreetfourtfivesREPO [OPTIONS]... [ONE [TWO]]cOstj|||}xtD]}||d=qWi}x-|jD]\}}|rD|||<qDqDW|j||}	|j||}
|jd|	|	|
kr|jd|
ndS(Nis%s
(RRht
remoteoptsR8R<RR(RdRnR
RgRetoptRRRtres1tres2((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR<s
s^difftchangeschange made by revisions6[OPTION]... ([-c REV] | [-r REV1 [-r REV2]]) [FILE]...c
Os.|jd}|jd}|jd}|jd}|rf|rftd}tj|nR|rtj||dj}	||	jj}
ntj	||\}
}	|r|	|
}
}	nt
j||}tj||	||}t
j||||
|	|d|d|jddS(	sRdiff repository (or selected files)

    Show differences between revisions for the specified files.

    Differences between files are shown using the unified diff format.

    .. note::

       diff may generate unexpected results for merges, as it will
       default to comparing against the working directory's first
       parent changeset if no revisions are specified.

    When two revision arguments are given, then changes are shown
    between those revisions. If only one revision is specified then
    that revision is compared to the working directory, and, when no
    revisions are specified, the working directory files are compared
    to its parent.

    Alternatively you can specify -c/--change with a revision to see
    the changes in that changeset relative to its first parent.

    Without the -a/--text option, diff will avoid generating diffs of
    files it detects as binary. With -a, diff will generate a diff
    anyway, probably with undesirable results.

    Use the -g/--git option to generate diffs in the git extended diff
    format. For more information, read :hg:`help diffs`.

    .. container:: verbose

      Examples:

      - compare a file in the current working directory to its parent::

          hg diff foo.c

      - compare two historical versions of a directory, with rename info::

          hg diff --git -r 1.0:1.2 lib/

      - get change stats relative to the last change on some date::

          hg diff --stat -r "date('may 2')"

      - diff all newly-added files that contain a keyword::

          hg diff "set:added() and grep(GNU)"

      - compare a revision and its parents::

          hg diff -c 9353         # compare against first parent
          hg diff -r 9353^:9353   # same using revset syntax
          hg diff -r 9353^2:9353  # compare against the second parent

    Returns 0 on success.
    RpRDRFROs2cannot specify --rev and --change at the same timetlistsubreposRXN(RbRRlRmR]RR_R~RtrevpairR@RR^R`tdiffordiffstat(
RdReRfRgRqRDRFRORtnode2tnode1RR.((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytdiff+s"@!s^exports
switch-parentsdiff against the second parentsrevisions to exports*[OPTION]... [-o OUTFILESPEC] [-r] [REV]...cOs|t|jdg7}|s.dg}ntj||}|s^tjtdnt|dkr|jtdn|jtdt	j
||d|jdd	|jd	d
tj||dS(sdump the header and diffs for one or more changesets

    Print the changeset header and diffs for one or more revisions.
    If no revision is given, the parent of the working directory is used.

    The information shown in the changeset header is: author, date,
    branch name (if non-default), changeset hash, parent(s) and commit
    comment.

    .. note::

       export may generate unexpected diff output for merge
       changesets, as it will compare the merge changeset against its
       first parent only.

    Output may be to a file, in which case the name of the file is
    given using a format string. The formatting rules are as follows:

    :``%%``: literal "%" character
    :``%H``: changeset hash (40 hexadecimal digits)
    :``%N``: number of patches being generated
    :``%R``: changeset revision number
    :``%b``: basename of the exporting repository
    :``%h``: short-form changeset hash (12 hexadecimal digits)
    :``%m``: first line of the commit message (only alphanumeric characters)
    :``%n``: zero-padded sequence number, starting at 1
    :``%r``: zero-padded changeset revision number

    Without the -a/--text option, export will avoid generating diffs
    of files it detects as binary. With -a, export will generate a
    diff anyway, probably with undesirable results.

    Use the -g/--git option to generate diffs in the git extended diff
    format. See :hg:`help diffs` for more information.

    With the --switch-parent option, the diff will be against the
    second parent. It can be useful to review a merge.

    .. container:: verbose

      Examples:

      - use export and import to transplant a bugfix to the current
        branch::

          hg export -r 9353 | hg import -

      - export all the changesets between two revisions to a file with
        rename information::

          hg export --git -r 123:150 > changes.txt

      - split outgoing changes into a series of patches with
        descriptive names::

          hg export -r "outgoing()" -o "%n-%m.patch"

    Returns 0 on success.
    RpRs&export requires at least one changesetisexporting patches:
sexporting patch:
R=Rzt
switch_parentRgN(
RRbR]RRlRmRRRR`texportR@R(RdReRRgRq((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRLsCs^forgetcOsl|stjtdntj|d||}tj|||dddtd}|rhdpkdS(sjforget the specified files on the next commit

    Mark the specified files so they will no longer be tracked
    after the next commit.

    This only removes files from the current branch, not from the
    entire project history, and it does not delete them from the
    working directory.

    To undo a forget before the next commit, see :hg:`add`.

    .. container:: verbose

      Examples:

      - forget newly-added binary files::

          hg forget "set:added() and binary()"

      - forget files that would be excluded by .hgignore::

          hg forget "set:hgignore()"

    Returns 0 on success.
    sno files specifiedR[RR\iiN(	RlRmRR]R^R_R`tforgetRc(RdReRfRgR.Rh((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRMs
%tgraftsrevisions to grafttcontinuesresume interrupted grafttlogs append graft info to log messagetDtcurrentdates&record the current date as commit datetcurrentusers$record the current user as committers[OPTION]... [-r] REV...cOst|}|j|d|jdrO|jdrO|j|d<n|jdr|jdrdtj|d<ntj|}t}|drMt	}|rtj
tdny?|jj
d	j}g|D]}||j^q}Wqtk
rI}|jtjkr1ntj
td
qXnJtj|tj||stj
tdntj||}x>|jd|D]*}	|jtd
|	|j|	qW|sdS|dj}
|jj|
gdt	}t|}xGt|D]9}	|	|kr&|jtd|	|j|	q&q&W|smdSi}x^|jd|D]J}
|
j||
j<|
jjd}|r|
j||<qqW|jdx|jj ||
gD]h}	||	}
|
jjd}||kry||j}Wnt!j"k
r[d$}nX||kr|jtd||	f|j|qb|||krb|d$kr|jtd|||	|fn$|jtd|||	|f|j||qbq|
j|kr||
j}|jtd||	f|j|qqW|spdS|j$}z|d}xt%|jd|D]\}}
|j&td|
j|jdrqn|
jjd}|s
|
j}ni|d6}|
j'}|jdr?|d}n|
j(}|jdrg|d}n|
j)}|jdr|d|
j7}n|sze|j*j+dd|jdd d!t,j-||
j.t	t	t|
j/j.d"d#d!g}Wd$|j*j+ddd d!X|r|d%d&krg||D]}	||	jd'^qB}|jj0d	d j1|tj
td(d)td*qnt}|j2|j.t3|j4j0tj5||
j|
j/j|j6d+|d|d|d,|d-|}|d$krI|j&td.|
jq||}qWWd$|j7X|jdstj8|j1d	d/t	nd&S(0scopy changes from other branches onto the current branch

    This command uses Mercurial's merge logic to copy individual
    changes from other branches without merging branches in the
    history graph. This is sometimes known as 'backporting' or
    'cherry-picking'. By default, graft will copy user, date, and
    description from the source changesets.

    Changesets that are ancestors of the current revision, that have
    already been grafted, or that are merges will be skipped.

    If --log is specified, log messages will have a comment appended
    of the form::

      (grafted from CHANGESETHASH)

    If a graft merge results in conflicts, the graft process is
    interrupted so that the current merge can be manually resolved.
    Once all conflicts are addressed, the graft process can be
    continued with the -c/--continue option.

    .. note::

      The -c/--continue option does not reapply earlier options.

    .. container:: verbose

      Examples:

      - copy a single change to the stable branch and edit its description::

          hg update stable
          hg graft --edit 9393

      - graft a range of changesets with one exception, updating dates::

          hg graft -D "2085::2093 and not 2091"

      - continue a graft after resolving conflicts::

          hg graft -c

      - show the source of a grafted changeset::

          hg log --debug -r .

    See :hg:`help revisions` and :hg:`help revsets` for more about
    specifying revisions.

    Returns 0 on successful completion.
    RpR8RSR5RRs%d %dROs&can't specify --continue and revisionst
graftstates$no graft state found, can't continuesno revisions specifieds%ld and merge()s'skipping ungraftable merge revision %s
iRt	inclusivesskipping ancestor revision %s
s%ldRsscanning for duplicate grafts
s-skipping revision %s (already grafted to %s)
sEskipping already grafted revision %s (%s also has unknown origin %s)
s=skipping already grafted revision %s (%s also has origin %d)
s;skipping already grafted revision %s (was grafted from %d)
sgrafting revision %s
RZRPs
(grafted from %s)RdRRSRRNRRNiis
s$unresolved conflicts, can't continueR?s&use hg resolve and hg graft --continueRJRRsgraft for revision %s is empty
t
ignoremissing(9RRRbRRltmakedateR`RRcRRmRRRt
splitlinesRptIOErrorterrnotENOENTRRR]RRqRtremoveRR#RRRRtfindmissingrevsRtRepoLookupErrorR_Rt	enumerateRR8R5tdescriptionRdRRRR~RRRRRRtduplicatecopiesRRt
unlinkpath(RdReRqRgRtcontRR~RRptcrevR#RRR#RoRRtposRRR8R5R/Rt	nodelines((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRNsA
'





%


+
% tgrepRtprint0send fields with NULsprint all revisions that matchsCfollow changeset history, or file history across copies and renamessignore-casesignore case when matchingsfiles-with-matchess-print only filenames and revisions that matchsprint matching line numberss/only search files changed within revision ranges[OPTION]... PATTERN [FILE]...cstj}	jdr(|tjO}nytjj||
Wn.tjk
rq}jtd|dSXd\	jdrdntj	|j

fdd	tf
fd
Yiifdd	fd
}i
itj
|d|	}t}		jd
fd}
xGtj||	|
D]-}|j}|jj}
xtj|gD]}||}j|ij|}|
kr$|rt
|<qqnj|
ij|p?|g}|sT|r|||||}|	pr|}	|r	jdrt
|<|rt
|<qqqqW|=|=qW|	S(ssearch for a pattern in specified files and revisions

    Search revisions of files for a regular expression.

    This command behaves differently than Unix grep. It only accepts
    Python/Perl regexps. It searches repository history, not the
    working directory. It always prints the revision number in which a
    match appears.

    By default, grep only prints output for the first revision of a
    file in which it finds a match. To get it to print every revision
    that contains a change in match status ("-" for a match that
    becomes a non-match, or "+" for a non-match that becomes a match),
    use the --all flag.

    Returns 0 if a match is found, 1 otherwise.
    tignore_cases grep: invalid match pattern: %s
iRs
Rhtc3sd}d}x|t|krj||}|s=Pn|j\}}||jd||d7}|jd||dp|}|jd|dpt|d}|d}||||||||!fVqWdS(Nis
i(RtsearchtspantcounttrfindR(tbodytbegintlinenumR^tmstarttmendtlstarttlend(tregexp(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt
matchlines	
s&
t	linestatecs2eZdZdZdZfdZRS(cSs(||_||_||_||_dS(N(R(Rqtcolstarttcolend(tselfR(RqRyRz((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt__init__
s			cSst|j|jfS(N(thashRqR((R{((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt__hash__
scSs|j|jkS(N(R((R{Rv((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt__eq__!
sc3s|j|j dfV|j|j|j!dfV|j|j}xq|dkrj|}|ss|dfVPn|j\}}|| dfV|||!dfV||}qCWdS(NRs
grep.match(R(RyRzRkRl(R{trestR^RrRs(Rv(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt__iter__$
s(t__name__t
__module__R|R~RR((Rv(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRx
s			c	sk|j|g||}xB|D]4\}}}}||||}|j|q/WdS(N(R%R(	RRpRoR.tlnumtcstarttcendR(RT(RxtmatchesRw(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytgrepbody4
s
c	sstjd||}x|jD]\}}}}}|dkroxt||D]}d||fVqSWq"|dkrxt||D]}d||fVqWq"|dkr"x&t||D]}d||fVqWx)t||D]}d||fVqWq"q"WdS(Ntinsertt+RRR(tdifflibtSequenceMatcherR_tget_opcodesR(	RIRMtsmRKtalotahitblotbhiR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytdifflinestates;
s"cs~j}jrtjp$tj}t}tjfd}jdrl||}ng|D]}	d|	f^qs}x|D]\}
}	dft|dfg}jdr|j	t|	j
dfnjdr|j	|
dfnjd	rC|j	jjd
fnjdrt|j	|j
dfnx>|d
 D]2\}}
j|d|
jddqWj|d
dd|d
djdsPjddjdr#|r#jdqPx*|	D]\}}
j|d|
q*Wnjt}jdrPqqW|S(Ncs+}tj|jjS(N(RlRRR(tflog(RRtgetfile(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRN
sRTRs
grep.filenamesgrep.revRsgrep.linenumbersgrep.changeR8s	grep.userR5s	grep.dateiR1sgrep.sepiitfiles_with_matchesRJs Binary file matches(RpRRlRRRcRRbR}RRqR|R8R5RR(RRtpstateststatesRpRytfoundRtiterR1RDtcolstcolR1RT(RteolRRgRRd(RRs6/usr/lib/python2.7/dist-packages/mercurial/commands.pytdisplayJ
s@%"#
Rrcs|j}|j}|j}j|ij|ij|g}xK|D]C}|}y|j|}Wntjk
rq]nX|j|}	o|	o|	d}
|
r|
j|i|<n|kr|
r]t|
<q]q]n|j|||kr>|||j	|n|
pG|}||kr]y,|j|}|||j	|Wqtjk
rqXq]q]WdS(Ni(
RpRR%RRR
RRRR(RtfnsRptpctxRRRRtfnodeR(Rtpfn(R'RrRRRtrevfilesR(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytprepy
s<


RT(Rs
N(treRERbR)RltcompileRRRtlrucachefuncRttobjectR]R^R_RcR`twalkchangerevsRpRR7R(RdRetpatternRfRgtreflagsRRRRRRRpRRRRRRo((R'RRRrRRRxRRwRgRvRRRRds6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRgs\$	
	)!#
$
RDs1show only heads which are descendants of STARTREVtSTARTREVttoposshow topological heads onlys)show active branchheads only (DEPRECATED)s#show normal and closed branch headss[-ct] [-r STARTREV] [REV]...cs^d}d|kr4tj|ddj}n|jdrlgj|D]}|^qS}n\g}x6jD](}|j|||jd7}qWg|D]}|^q}|rtfd|D}g|D]}|j	|kr|^q}n|jdrj|rjj|}	g|D]}|j|	krC|^qC}n|rtd|D}
||
rdj
d||
D}td	}|jdr|td
|d7}n|j|d|qn|sdSt
|d
d}tj||}
x|D]}|
j|q9W|
jdS(sshow branch heads

    With no arguments, show all open branch heads in the repository.
    Branch heads are changesets that have no descendants on the
    same branch. They are where development generally takes place and
    are the usual targets for update and merge operations.

    If one or more REVs are given, only open branch heads on the
    branches associated with the specified changesets are shown. This
    means that you can use :hg:`heads .` to see the heads on the
    currently checked-out branch.

    If -c/--closed is specified, also show branch heads marked closed
    (see :hg:`commit --close-branch`).

    If STARTREV is specified, only those heads that are descendants of
    STARTREV will be displayed.

    If -t/--topo is specified, named branch mechanics will be ignored and only
    topological heads (changesets with no children) will be shown.

    Returns 0 if matching heads are found, 1 if not.
    RpRRBc3s|]}|jVqdS(N(R(Rtbr(Re(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>
sRAcss|]}|jVqdS(N(R(RR ((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>
ss, css|]}|VqdS(N((RRM((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>
ss)no open branch heads found on branches %ss (started at %s)s
iRCcSs|jS(N(Rp(Rx((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRz
sN(R_R]RR~RbRDR'RRRRRRR7R`RRR(RdRet
branchrevsRgRzR RDRR@tdagheadst	haveheadstheadlessRRR((Res6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRD
s<!")&..

t	extensionsshow only help for extensionssshow only help for commandsRtkeywordsshow topics matching keywords
[-ec] [TOPIC]cKst|jdd}|jr+dgp.g}tj|||}tj||d|\}}d|kr|jdn
|jdtj||d|\}}|j|dS(sshow help for a given topic or a help overview

    With no arguments, print a list of commands with short help messages.

    Given a topic, extension, or command name, print help for that
    topic.

    Returns 0 if successful.
    iPiRtkeeptomittedt
notomittedN(	tmint	termwidthRR!thelp_tminirstRuRR(RdRRgt	textwidthRRJt	formattedtpruned((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR
s
sidentify|idsidentify the specified revisionRsshow local revision numberRsshow global revision idsshow branchs	show tagsR$sshow bookmarkss[-nibtB] [-r REV] [SOURCE]c	s,|r&|r&tjtdn|jr5tp8t}
|pV|pV|pV|pV|}g}g}
|rtj|j|\}}tj	|p||	|j
}tj||d\}
}n|s|s|s|rtjtdn|r|
r|
d}n|s+d}nj
||sF|rX|
g}nfd}|r|j|q|r|jrdj|}|r|j|qqnM|s|dj}d}|s|s|r8tj|js,tjfdjDr8d	}q8n|sD|rd
d	jg|D]}|
|j^qT|fg}n|r%|jd
d	jg|D]}t|j^q|fq%nXtj|||s|r|
jg}n|r%|jtjn|r|jrj}|dkra|jd|ndjj}|r|j|ndjj}|r|j|qnT|r|jjn|r|jjn|r|jjn|jd
dj|dS(szidentify the working copy or specified revision

    Print a summary identifying the repository state at REV using one or
    two parent hash identifiers, followed by a "+" if the working
    directory has uncommitted changes, the branch name (if not default),
    a list of tags, and a list of bookmarks.

    When REV is not given, print a summary of the current state of the
    repository.

    Specifying a path to a repository root or Mercurial bundle will
    cause lookup to operate on that repository/bundle.

    .. container:: verbose

      Examples:

      - generate a build identifier for the working directory::

          hg id --id > build-id.dat

      - find the revision corresponding to a tag::

          hg id -n -r 1.3

      - check the most recent revision of a remote repository::

          hg id -r tip http://selenic.com/hg/

    Returns 0 if successful.
    s5there is no Mercurial repository here (.hg not found)s3can't query remote revision number, branch, or tagsiRcsng}djdkrdt}gjdjD]\}}||kr=|^q=}nt|S(NR$t
namespaces(RRR8R7(tbmsthexremoterevRtbmr(Rht	remoterev(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytgetbmscs"RRc3s$|]}j|jVqdS(N(tsubtdirty(RRT(R(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>{sRs%s%sR^s(%s)s%s
R{N(RlRmRRRRRRgRfRhRRiR_RRRRRRRGRR1R~R}RpR]RRRR$R(RdReRRpRRRRR$RgRIR^RzRqR@RwRRRtchangedR?RMRR((RRhRs6/usr/lib/python2.7/dist-packages/mercurial/commands.pytidentifys-!

	

";	<simport|patchRis]directory strip option for patch. This has the same meaning as the corresponding patch optionsbase path (DEPRECATED)tPATHs;skip check for outstanding uncommitted changes (DEPRECATED)s	no-commits/don't commit, just update the working directorytbypasss2apply patch without touching the working directorytpartialscommit even if some hunks failR:s4apply patch to the nodes from which it was generateds
import-branchs8use any branch information in patch (implied by --exact)s[OPTION]... PATCH...c
Os|stjtdn|f|}|jd}|rVtj||d<n|jd}|r|jdrtjtdnyt|jdpd}Wn&tk
rtjtdnX|dks|d	krtjtd
n|r1|r1tjtdn|rGtj|n|jdsf|jd
r||r|tj	|n|d}d}	}
}g}d}
zy|j}	|jds|j}
|j
d}n|j}xs|D]k}|dkr)|jtd|j}d}n>tjj||}|jtd|tj||}t}xtj|D]}tj||||||tj\}}}|rt}|j|dn|s|jdr|j}n
||g}|r}|jtd|jtdd}
Pq}q}W|stjtd|qqW|rt|jn|r|jdj|n|
SWn|j j!nXWd|r|j"nt"|
|	XdS(sBimport an ordered set of patches

    Import a list of patches and commit them individually (unless
    --no-commit is specified).

    Because import first applies changes to the working directory,
    import will abort if there are outstanding changes.

    You can import a patch straight from a mail message. Even patches
    as attachments work (to use the body part, it must have type
    text/plain or text/x-patch). From and Subject headers of email
    message are used as default committer and commit message. All
    text/plain body parts before first diff are added to commit
    message.

    If the imported patch was generated by :hg:`export`, user and
    description from patch override values from message headers and
    body. Values given on command line with -m/--message and -u/--user
    override these.

    If --exact is specified, import will set the working directory to
    the parent of each patch before applying it, and will abort if the
    resulting changeset has a different ID than the one recorded in
    the patch. This may happen due to character set problems or other
    deficiencies in the text patch format.

    Use --bypass to apply and commit patches directly to the
    repository, not touching the working directory. Without --exact,
    patches will be applied on top of the working directory parent
    revision.

    With -s/--similarity, hg will attempt to discover renames and
    copies in the patch in the same way as :hg:`addremove`.

    Use --partial to ensure a changeset will be created from the patch
    even if some hunks fail to apply. Hunks that fail to apply will be
    written to a <target-file>.rej file. Conflicts can then be resolved
    by hand before :hg:`commit --amend` is run to update the created
    changeset. This flag exists to let people import patches that
    partially apply without losing the associated metadata (author,
    date, description, ...). Note that when none of the hunk applies
    cleanly, :hg:`import --partial` will create an empty changeset,
    importing only the patch metadata.

    To read a patch from standard input, use "-" as the patch name. If
    a URL is specified, the patch will be downloaded from it.
    See :hg:`help dates` for a list of formats valid for -d/--date.

    .. container:: verbose

      Examples:

      - import a traditional patch from a website and detect renames::

          hg import -s 80 http://example.com/bugfix.patch

      - import a changeset from an hgweb server::

          hg import http://www.selenic.com/hg/rev/5ca8c111e9aa

      - import all the patches in an Unix-style mbox::

          hg import incoming-patches.mbox

      - attempt to exactly restore an exported changeset (not always
        possible)::

          hg import --exact proposed-fix.patch

    Returns 0 on success, 1 on partial success (see --partial).
    s!need at least one patch to importR5Rt	no_commits$cannot use --no-commit with --bypassRUissimilarity must be a numberids$similarity must be between 0 and 100s%cannot use --similarity with --bypassR:RRStimportRsapplying patch from stdin
tstdinsapplying %s
s
spatch applied partially
s1(fix the .rej files and run `hg commit --amend`)
is%s: no diffs founds
* * *
N(#RlRmRRbRRjRkR`RRR_RRRRRRRRRRRRcR@RttryimportoneRRRt	write_errRtsavecommitmessageRt
invalidateR(RdRetpatch1tpatchesRgR5RRnRSRRRtmsgstretRtpatchurlt	patchfilethaspatchthunkRR~trej((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytimport_s]


%

		
 


sincoming|ins*run even if remote repository is unrelatedsnewest-firstsshow newest record firstsfile to store the bundles intos'a remote changeset intended to be addedscompare bookmarkss(a specific branch you would like to pulls<[-p] [-n] [-M] [-f] [-r REV]... [--bundle FILENAME] [SOURCE]c	szjdr]tjgfd}tj|d|dtdSjdrjdrtjtdnjd	r@tj	j
|jd
\}}tj|}d	|jdkr
j
tddSjtd
tj|tj|Sj
|_ztj|SWd`XdS(sMshow new changesets found in source

    Show new changesets found in the specified path/URL or the default
    pull location. These are the changesets that would have been pulled
    if a pull at the time you issued this command.

    For remote repository, using --bundle avoids downloading the
    changesets twice if the incoming is followed by a pull.

    See pull for valid source format details.

    .. container:: verbose

      Examples:

      - show incoming changes with patches and full description::

          hg incoming -vp

      - show incoming changes excluding merges, store a bundle::

          hg in -vpM --bundle incoming.hg
          hg pull incoming.hg

      - briefly list changes inside a bundle::

          hg in changes.hg -T "{desc|firstline}\n"

    Returns 0 if there are incoming changes, 1 otherwise.
    RHcs^tj||}gdjD]}|j^q&}tj|||tjdS(N(R`t	graphrevsR_RR~tdisplaygraphtgraphmodt
asciiedges(RvtchlistRtrevdagRtshowparents(RgReRd(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs)cSsdS(Ni((((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRzstbufferediRQRXs&cannot combine --bundle and --subreposR$RRs!remote doesn't support bookmarks
scomparing with %s
N(RbR`tcheckunsupportedgraphflagsRt	_incomingRRlRmRRgRfRhRRRRQR$RJt_subtoppathtincoming(RdReRRgRR@Rv((RgReRds6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRXs(+% s^inits![-e CMD] [--remotecmd CMD] [DEST]cKs&tj|||j|dtdS(swcreate a new repository in the given directory

    Initialize a new repository in the given directory. If the given
    directory does not exist, it will be created.

    If no directory is given, the current directory is used.

    It is possible to specify an ``ssh://`` URL as the destination.
    See :hg:`help urls` for more information.

    Returns 0 on success.
    RN(RRhRfR(RdRRg((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytinitstlocates%search the repository as it is in REVs*end filenames with NUL, for use with xargstfullpaths-print complete paths from the filesystem roots[OPTION]... [PATTERN]...c	Os|jdrdpd}tj||jddj}d}tj||||dd}d|_x||j|D]x}|r||jkrqn|jd	r|j	|j
||n%|j	|r|j|p||d
}qW|S(slocate files matching specific patterns

    Print files under Mercurial control in the working directory whose
    names match the given patterns.

    By default, this command searches all directories in the working
    directory. To search just the current directory and its
    subdirectories, use "--include .".

    If no patterns are given to match, this command prints the names
    of all files under Mercurial control in the working directory.

    If you want to feed the output of this command into the "xargs"
    command, use the -0 option to both this command and "xargs". This
    will avoid the problem of "xargs" treating single filenames that
    contain whitespace as multiple filenames.

    Returns 0 if a match is found, 1 otherwise.
    RhRjs
RpiR^trelglobcSstS(N(Rc(RxR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRzsRiN(RbR]RR_R~R^RRRRtwjoinR(	RdReRfRgRRpRR.R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs$%
s^log|historysfollow-firsts=only follow the first parent of merge changesets (DEPRECATED)s!show revisions matching date specR'sshow copied filess+do case-insensitive search for a given texts$show the specified revision or ranges*include revisions where files were removedsonly-mergessshow only merges (DEPRECATED)srevisions committed by usersonly-branchs?show only changesets within the given named branch (DEPRECATED)s-show changesets within the given named branchtPtprunes/do not display revision or any of its ancestorss[OPTION]... [FILE]cOs|jdr%tj||||Stj|||\}}}tj|}d}d	}	|jdrd	}
|jdrtj||jdjd}
nt	j
|d|
}	ntj|||dt}x|D]}||krPn||}
d	}|	d	k	rk|rkg}xF|
j
D]5}|	||}|r/|j||dfq/q/Wn|r||
jpd	}|j|
d|d||j|r|d7}qqW|jd	S(
spshow revision history of entire repository or files

    Print the revision history of the specified files or the entire
    project.

    If no revision range is specified, the default is ``tip:0`` unless
    --follow is set, in which case the working directory parent is
    used as the starting revision.

    File history is shown without following rename or copy history of
    files. Use -f/--follow with a filename to follow history across
    renames and copies. --follow without a filename will only show
    ancestors or descendants of the starting revision.

    By default this command prints revision number and changeset id,
    tags, non-trivial parents, user, date and time, and a summary for
    each commit. When the -v/--verbose switch is used, the list of
    changed files and full commit message are shown.

    With --graph the revisions are shown as an ASCII art DAG with the most
    recent changeset at the top.
    'o' is a changeset, '@' is a working directory parent, 'x' is obsolete,
    and '+' represents a fork where the changeset from the lines below is a
    parent of the 'o' merge on the same line.

    .. note::

       log -p/--patch may generate unexpected diff output for merge
       changesets, as it will only compare the merge changeset against
       its first parent. Also, only files different from BOTH parents
       will appear in files:.

    .. note::

       for performance reasons, log FILE may omit duplicate changes
       made on branches and will not show removals or mode changes. To
       see all such changes, use the --removed switch.

    .. container:: verbose

      Some examples:

      - changesets with full descriptions and file lists::

          hg log -v

      - changesets ancestral to the working directory::

          hg log -f

      - last 10 commits on the current branch::

          hg log -l 10 -b .

      - changesets showing all modifications of a file, including removals::

          hg log --removed file.c

      - all changesets that touch a directory, with diffs, excluding merges::

          hg log -Mp lib/

      - all revision numbers that match a keyword::

          hg log -k bug --template "{rev}\n"

      - list available log templates::

          hg log -T list

      - check if a given changeset is included in a tagged release::

          hg log -r "a21ccf and ancestor(1.9)"

      - find all changesets by some user in a date range::

          hg log -k alice -d "may 2008 to jul 2008"

      - summary of all changesets after the last tag::

          hg log -r "last(tagged())::" --template "{desc|firstline}\n"

    See :hg:`help dates` for a list of formats valid for -d/--date.

    See :hg:`help revisions` and :hg:`help revsets` for more about
    specifying revisions.

    See :hg:`help templates` for more about pre-packaged styles and
    specifying custom templates.

    Returns 0 on success.

    RHiR'RpitendrevRRN(RbR`tgraphlogt
getlogrevstloglimitR_R]RRt
templatekwtgetrenamedfnRRRRRpRtflushR(RdReRfRgRqR_tfilematcherRCRmt
getrenamedRRRpRR'RRt
revmatchfn((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRPs8u(

!srevision to displayslist files from all revisionscKsK|jd|}|jdr1|s-|rEtjtdng}d}d}t|}	t|}
|j}zlxe|jjD]T\}}
}|dkr||
|kr||	 |kr|j	||	|
!qqWWd|j
Xx+|D]#}|j|jdd	|qW|j
dS|rU|rUtjtd
n|sd|}nidd6d
d6dd6}idd6dd6dd6}tj||}|j}x|D]z}|j||j}|j|jddt|||j|jdd|||||jdd	|qW|j
dS(s output the current or given revision of the project manifest

    Print a list of version controlled files for the given revision.
    If no revision is given, the first parent of the working directory
    is used, or the null revision if no revision is checked out.

    With -v, print file permissions, symlink and executable bits.
    With --debug, print file revision hashes.

    If option --all is specified, the list of all files from all revisions
    is printed. This includes deleted and renamed files.

    Returns 0 on success.
    RRTs#can't specify a revision with --allsdata/s.iiNRs%s
s please specify just one revisionR"R1R0RxRt644t755R}s%s s	mode types%s %1s (t	formatterRbRlRmRRRtstoret	datafilesRRt	startitemRRR]RRR}t	condwriteRRR(RdReR~RpRgtfmtresR[tsuffixtplentslenRRRMRRstcharR.RRtfl((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRtsF- 


	

#$s^merges8force a merge including outstanding changes (DEPRECATED)srevision to mergetpreviews1review revisions to merge (no merge is performed)s[-P] [-f] [[-r] REV]cKs|jdr-|r-tjtdn|sE|jd}n|rftj||j}n|rF|jrF|j|j}||jj}t	|dkr||dkr|d}qC|d}qFt	|dkr
tjtddtdqFt	|dkrFtjtd	dtdqFn|r%|jr%|dj}|j|}g|D]}||j
s}|^q}}	t	|	dkrtjtd
|t	|fdtdn|jj}
t	|	dkrt	|dkr<tjtddtdnt	|jdkr|tjtd
|dtdntdd}}|
|j|krtd}ntj|d|n|
|krtjtddtdn|
|	dkr|	d}q%|	d}n|jdr|jd}
|j|}|jjd|
gd|g}tj|||}x|D]}|j||qW|jdSzH|jjdd|jdddtj||d|jdSWd|jddddXdS(smerge working directory with another revision

    The current working directory is updated with all changes made in
    the requested revision since the last common predecessor revision.

    Files that changed between either parent are marked as changed for
    the next commit and a commit must be performed before any further
    updates to the repository are allowed. The next commit will have
    two parents.

    ``--tool`` can be used to specify the merge tool used for file
    merges. It overrides the HGMERGE environment variable and your
    configuration files. See :hg:`help merge-tools` for options.

    If no revision is specified, the working directory's parent is a
    head revision, and the current branch contains exactly one other
    head, the other head is merged with by default. Otherwise, an
    explicit revision with which to merge with must be provided.

    :hg:`resolve` must be used to resolve unresolved files.

    To undo an uncommitted merge, use :hg:`update --clean .` which
    will check out a clean copy of the original merge parent, losing
    all changes.

    Returns 0 on success, 1 if there are unresolved files.
    Rps please specify just one revisioniiisTmultiple matching bookmarks to merge - please merge with an explicit rev or bookmarkR?srun 'hg heads' to see all headssMno matching bookmark to merge - please merge with an explicit rev or bookmarks<branch '%s' has %d heads - please merge with an explicit revsrun 'hg heads .' to see headss8heads are bookmarked - please merge with an explicit revs<branch '%s' has one head - please merge with an explicit revsnothing to mergesuse 'hg update' insteads(working directory not at a head revisions2use 'hg update' or merge with an explicit revisioniRRR\RDRdRRSRRRN(RbRlRmRR]RR~R4t
bookmarkheadsRR_RRR$RRRDRRtfindmissingR`RRRRdRRR(RdReR~RgtbmheadstcurheadRRtbhtnbhsRRR?RRRR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRsv%

)

!

%#soutgoing|outs6a changeset intended to be included in the destinations(a specific branch you would like to pushs&[-M] [-p] [-n] [-f] [-r REV]... [DEST]cKs|jdrtjg|tj||||\}}|s`tj|||||dStj|||}tj|||dt}g|dj
D]}|j^q}	tj||||	t
jtj|||||dS|jdr|j|pd|pd}tj||jd\}}
tj|||}d|jd	kr|jtd
dS|jtdtj|tj|||S|j|pd|pd|_ztj||||SWd|`XdS(sXshow changesets not found in the destination

    Show changesets not found in the specified destination repository
    or the default push location. These are the changesets that would
    be pushed if a push was requested.

    See pull for details of valid destination formats.

    Returns 0 if there are outgoing changes, 1 otherwise.
    RHNRiR$sdefault-pushR^RRs!remote doesn't support bookmarks
scomparing with %s
(RbR`RRt	_outgoingt
outgoinghooksRRRR_RR~RRRRfRgRhRRRRRlRQR$RJRRu(RdReRRgRyRvRRRRR@((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRu's4)
! !Rs&show parents of the specified revisions[-r REV] [FILE]c
Kstj||jdd}|rFtj||f|}|js`t|jdkrxtj	t
dn|jd}g}xQ|jD]C}|sqny|j|j
|Wqtjk
rqXqW|stj	t
d|ng}x^|D].}	|j|d|	}
|j|
jqWn%g|jD]}|j^qS}tj|||}x.|D]&}|tkr|j||qqW|jdS(sshow the parents of the working directory or revision

    Print the working directory's parent revisions. If a revision is
    given via -r/--rev, the parent of that revision will be printed.
    If a file argument is given, the revision in which the file was
    last changed (before the working directory revision or the
    argument to --rev if given) is printed.

    Returns 0 on success.
    Rpis%can only specify an explicit filenameis'%s' not found in manifest!tfileidN(R]RRbR_R^tanypatsRRRlRmRRRRRR
tfilectxR~R`RRRR(
RdReR'RgRR.t	filenodestcpR?RRRR#((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR[s4$
%
Rs[NAME]cCs|rsxG|jdD]6\}}||kr|jdtj|dSqW|jso|jtdndSxZ|jdD]I\}}|jr|jd|q|jd|tj|fqWdS(sshow aliases for remote repositories

    Show definition of symbolic path name NAME. If no name is given,
    show definition of all available names.

    Option -q/--quiet suppresses all output when searching for NAME
    and shows only the path names when listing all definitions.

    Path names are defined in the [paths] section of your
    configuration file and in ``/etc/mercurial/hgrc``. If run inside a
    repository, ``.hg/hgrc`` is used, too.

    The path names ``default`` and ``default-push`` have a special
    meaning.  When performing a push or pull operation, they are used
    as fallbacks if no location is specified on the command-line.
    When ``default-push`` is set, it will be used for push and
    ``default`` will be used for pull; otherwise ``default`` is used
    as the fallback for both.  When cloning a repository, the clone
    source is written as ``default`` in ``.hg/hgrc``.  Note that
    ``default`` and ``default-push`` apply to all inbound (e.g.
    :hg:`incoming`) and outbound (e.g. :hg:`outgoing`, :hg:`email` and
    :hg:`bundle`) operations.

    See :hg:`help urls` for more information.

    Returns 0 on success.
    Rs%s
Nsnot found!
is%s = %s
(tconfigitemsRRlRQRRRR(RdReRkRR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs		RRsset changeset phase to publictdraftsset changeset phase to draftsset changeset phase to secretsallow to move boundary backwardstarget revisions[-p|-d|-s] [-f] [-r] REV...csd}xTttjD]C\}}||r|dk	rPtjtdn|}qqWt|}|j|d|stjtdnt	j
||}d}d}|dkrx|D]3}	||	}
|jd|
j|
j
fqWn|j}z|s0tjtdng|D]}	||	j^q7}|jj|}tj||||drtj|||nWd|jX|j}
|jj|
tfd	t|D}|
j}g|D]%}|j||kr|^q}|rO|jtd
t|d}n|rtd|}|r{|j|q|j|n|jtd
d}|S(sset or show the current phase name

    With no argument, show the phase name of specified revisions.

    With one of -p/--public, -d/--draft or -s/--secret, change the
    phase value of the specified revisions.

    Unless -f/--force is specified, :hg:`phase` won't move changeset from a
    lower phase to an higher phase. Phases are ordered as follows::

        public < draft < secret

    Returns 0 on success, 1 if no phases were changed or some could not
    be changed.
    sonly one phase can be specifiedRpsno revisions specifiedis%i: %s
sempty revision setRNc3s%|]\}}||kVqdS(N((RRRy(tnewdata(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>ss9cannot move %i changesets to a higher phase, use --force
is phase changed for %i changesets
sno phases changed
(R_R_Rt
phasenamesRlRmRRRR]RRRpRHRR~t_phasecachetgetphaserevstadvanceboundarytretractboundaryRt
unfilteredRRRRRR(RdReRqRgttargetphasetidxRRRRoRRtolddatatunfitchangesRR#RhR((Rs6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRsZ



*#
"	
%	c	Cs|dkrdS|rtj|||\}}ytj||}WnZtjk
r}|jtdt||j	r|jtd|j	ndSX|r|rtj||g|dj
r|jtd|jqn|S|dkrpt
|j}||kr8|jtdq|dkrZ|jtdq|jtd	n|jtd
dS(Nisnot updating: %s
s(%s)
Rsupdating bookmark %s
is3(run 'hg heads' to see heads, 'hg merge' to merge)
s5(run 'hg heads .' to see heads, 'hg merge' to merge)
s(run 'hg heads' to see heads)
s((run 'hg update' to get a working copy)
(R$tcalculateupdateRRRlRmRRR}R?R~RR4RR(	RdRetmodheadst	optupdateRwtmovemarkfromRRtcurrentbranchheads((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytpostincoming	s.	" s^pullRs3update to new branch head if changesets were pulleds,run even when remote repository is unrelatedRsbookmark to pulltBOOKMARKs9[-u] [-f] [-r REV]... [-e CMD] [--remotecmd CMD] [SOURCE]cKstj|j||jd\}}tj|||}z/|jtdtj|tj	||||jd\}}|j
d}|jdr|sg}nxN|dD]?}	|	|krtjtd|	n|j||	qWn|rhy&g|D]}
|j
|
^q}Wqhtjk
rdtd}tj|qhXn|j|d|d	|jd	}tj|||||rt|jj|j
|}n||_z%t||||jd
|}
Wd|`X|jdrm|j}xA|dD]5}	|jtd|	|||	j||	<q'W|jnWd|jX|
S(
s!pull changes from the specified source

    Pull changes from a remote repository to a local one.

    This finds all changes from the repository at the specified path
    or URL and adds them to a local repository (the current one unless
    -R is specified). By default, this does not update the copy of the
    project in the working directory.

    Use :hg:`incoming` if you want to see what would have been added
    by a pull at the time you issued this command. If you then decide
    to add those changes to the repository, you should use :hg:`pull
    -r X` where ``X`` is the last changeset listed by :hg:`incoming`.

    If SOURCE is omitted, the 'default' path will be used.
    See :hg:`help urls` for more information.

    Returns 0 on success, 1 if an update had unresolved files.
    Rspulling from %s
RpR$Rsremote bookmark %s not found!sOother repository doesn't support revision lookup, so a rev cannot be specified.RDRRNsimporting bookmark %s
(RRgRfRbRhRRRlRQRiRRmRRRtCapabilityErrorRR$tupdatefromremoteR}RRpRR)R3R~RR(RdReRRgR@RvRqRwtremotebookmarksRMRpterrR%RR.((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR%sH* 	&$$	%	s^pushs
force pushsbookmark to pushs
new-branchsallow pushing a new branchs2[-f] [-r REV]... [-e CMD] [--remotecmd CMD] [DEST]cKs|jdr|jdd|ddxY|dD]J}||jkre|jdgj|q4|jdgjdq4Wn|j|pd|pd}tj||jd	\}}|jt	d
t
j|tj||||jd\}}ytj
|||}WnGtjk
rm|dkrgt
jt	ddt	d
qnnX|rgtj||D]}	|j|	^q}n||_zW|d}
|
j}x=t|D]/}|
j|j|}
|
dkr|
SqWWd|`X|j||jdd|d|jd}
|
}
|jdrtj||||d}|dkrdS|
r|rd}
qn|
S(s@push changes to the specified destination

    Push changesets from the local repository to the specified
    destination.

    This operation is symmetrical to pull: it is identical to a pull
    in the destination repository from the current one.

    By default, push will not allow creation of new heads at the
    destination, since multiple heads would make it unclear which head
    to use. In this situation, it is recommended to pull and merge
    before pushing.

    Use --new-branch if you want to allow push to create a new named
    branch that is not present at the destination. This allows you to
    only create a new branch without forcing other changes.

    .. note::

      Extra care should be taken with the -f/--force option,
      which will push all new heads on all branches, an action which will
      almost always cause confusion for collaborators.

    If -r/--rev is used, the specified revision and all its ancestors
    will be pushed to the remote repository.

    If -B/--bookmark is used, the specified bookmarked revision, its
    ancestors, and the bookmark will be pushed to the remote
    repository.

    Please see :hg:`help urls` for important details about ``ssh://``
    URLs. If DESTINATION is omitted, a default path will be used.

    Returns 0 if push was successful, 1 if nothing to push.
    RR$tpushingtpushRpR[sdefault-pushR^Rspushing to %s
s"default repository not configured!R?s*see the "path" section in "hg help config"RiNRRqt	newbrancht
new_branchi(RbRR3R%RRfRRgRRRlRQRiRhRt	RepoErrorRmR]RRRR1R7RR0R$tpushtoremote(RdReRRgRMR@RqRwRvRoRvtsubsRTtresulttbresult((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR0ssL0 ! '1	
	

trecovercCs|jrtj|SdS(s6roll back an interrupted transaction

    Recover from an interrupted commit or pull.

    This command tries to fix the repository status after an
    interrupted operation. It should only be necessary when Mercurial
    suggests it.

    Returns 0 if successful, 1 if nothing to recover or verify fails.
    i(R8Rtverify(RdRe((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR8s
s
^remove|rmsrecord delete for missing filess2remove (and delete) file even if added or modifiedcOs#d}|jd|jd}}|rK|rKtjtdntj|d||}|jd|dt}|d|d|d|d	f\}	}
}}|d}
x|j	D]}||j
ks||
jkrqntj
j|j|rjtj
j|j|rG|jtd
|j|qj|jtd|j|nd}qW|r|	|||
}n|r|}x|	|
|D],}|jtd|j|d}qWnx||}x4|	D],}|jtd
|j|d}qWx4|
D],}|jtd|j|d}q%WxPt|D]B}|js|j|rb|jtd|j|qbqbW|j}z]|sx?|D]4}||
krqntj|j|dtqWn|dj|Wd|jX|S(sremove the specified files on the next commit

    Schedule the indicated files for removal from the current branch.

    This command schedules the files to be removed at the next commit.
    To undo a remove before that, see :hg:`revert`. To undo added
    files, see :hg:`forget`.

    .. container:: verbose

      -A/--after can be used to remove only files that have already
      been deleted, -f/--force can be used to force deletion, and -Af
      can be used to remove files from the next revision without
      deleting them from the working directory.

      The following table details the behavior of remove for different
      file states (columns) and option combinations (rows). The file
      states are Added [A], Clean [C], Modified [M] and Missing [!]
      (as reported by :hg:`status`). The actions are Warn, Remove
      (from branch) and Delete (from disk):

      ========= == == == ==
      opt/state A  C  M  !
      ========= == == == ==
      none      W  RD W  R
      -f        R  RD RD R
      -A        W  W  W  R
      -Af       R  R  R  R
      ========= == == == ==

      Note that remove never deletes files in Added [A] state from the
      working directory, not even if option --force is specified.

    Returns 0 on success, 1 if any warnings encountered.
    iRRsno files specifiedR^Riiis"not removing %s: no tracked files
s#not removing %s: file is untracked
s#not removing %s: file still exists
s<not removing %s: file is modified (use -f to force removal)
sCnot removing %s: file has been marked for add (use forget to undo)
sremoving %s
RVN(RbRlRmRR]R^R_RRRRRRRRRRRR7RR:RRbRRMR(RdReRfRgRRRR.RTtmodifiedRtdeletedRtwctxRsRR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR\sZ,.
!##
 





'
#srename|move|mvs)record a rename that has already occurreds[OPTION]... SOURCE... DESTcOsA|jt}z tj||||dtSWd|jXdS(s?rename files; equivalent of copy + remove

    Mark dest as copies of sources; mark sources for deletion. If dest
    is a directory, copies are put in that directory. If dest is a
    file, there can only be one source.

    By default, this command copies the contents of files as they
    exist in the working directory. If invoked with -A/--after, the
    operation is recorded, but no copying is performed.

    This command takes effect at the next commit. To undo a rename
    before that, see :hg:`revert`.

    Returns 0 on success, 1 if errors are encountered.
    RN(RRcR`RRR(RdReRfRgR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRLs tresolvesselect all unresolved filesRs!list state of files needing mergeR smark files as resolvedtunmarksmark files as unresolveds	no-statusshide status prefixc	OsgdjD]}|j|^q
\}}}}}	|rI|sU|sU|rm|rmtjtdn|r|rtjtdn|p|p|p|p|stjtdddn|j}
ztj|}|jr|rtjtdnt	j
|d||}d}
t}xf|D]^}||s[qCnt
}|r|	r|jd	|q|jd
||j|fddid
d6dd6||qC|r|j|dqC|r|j|dqC|d}|j|}tj||dzA|jdd|jddd|j||rdd}
nWd|jdddd|jXtj|d|dqCW|j|r|r|jtdnWd|
jXt|jr|r|jtdn|
S(sredo merges or set/view the merge status of files

    Merges with unresolved conflicts are often the result of
    non-interactive merging using the ``internal:merge`` configuration
    setting, or a command-line merge tool like ``diff3``. The resolve
    command is used to manage the files involved in a merge, after
    :hg:`merge` has been run, and before :hg:`commit` is run (i.e. the
    working directory must have two parents). See :hg:`help
    merge-tools` for information on configuring merge tools.

    The resolve command can be used in the following ways:

    - :hg:`resolve [--tool TOOL] FILE...`: attempt to re-merge the specified
      files, discarding any previous merge attempts. Re-merging is not
      performed for files already marked as resolved. Use ``--all/-a``
      to select all unresolved files. ``--tool`` can be used to specify
      the merge tool used for the given files. It overrides the HGMERGE
      environment variable and your configuration files.  Previous file
      contents are saved with a ``.orig`` suffix.

    - :hg:`resolve -m [FILE]`: mark a file as having been resolved
      (e.g. after having manually fixed-up the files). The default is
      to mark all unresolved files.

    - :hg:`resolve -u [FILE]...`: mark a file as unresolved. The
      default is to mark all resolved files.

    - :hg:`resolve -l`: list files which had or still have conflicts.
      In the printed list, ``U`` = unresolved and ``R`` = resolved.

    Note that Mercurial will not let you commit files with unresolved
    merge conflicts. You must use :hg:`resolve -m ...` before you can
    commit after a conflicting merge.

    Returns 0 on success, 1 if any files fail a resolve attempt.
    sall mark unmark list no_statusstoo many options specifieds can't specify --all and patternss!no files or directories specifiedR?suse --all to remerge all filess/resolve command not applicable when not mergingis%s
s%s %s
R1sresolve.t
unresolvedR7tresolvedRos.resolveRdRRSRR=iNs.origs1arguments do not match paths that need resolving
s(no more unresolved files)
(RRbRlRmRRRt
mergestateRAR]R^R_RcRRtupperR RtcopyfileRR=RRRRRR?R(RdReRfRgRyRTR R>RtnostatusRtmsR.RtdidworkRsR<RI((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR=gsb07
 !



Rs*revert all changes when no arguments givenstipmost revision matching dates revert to the specified revisions	no-backups"do not save backup copies of filess[OPTION]... [-r REV] [NAME]...cOs|jdrV|jdr6tjtdntj|||d|d<n|jj\}}|jdr|tkrtjtddtdnt	j
||jd}|r|jdrtd}|tkrtd	}tj|d|ntj|j}	|j
}
|
|kr~|	retd
|j}qtd|j}n!|	rtd}ntd
}tj|d|ntj|||||f||S(srestore files to their checkout state

    .. note::

       To check out earlier revisions, you should use :hg:`update REV`.
       To cancel an uncommitted merge (and lose your changes),
       use :hg:`update --clean .`.

    With no revision specified, revert the specified files or directories
    to the contents they had in the parent of the working directory.
    This restores the contents of files to an unmodified
    state and unschedules adds, removes, copies, and renames. If the
    working directory has two parents, you must explicitly specify a
    revision.

    Using the -r/--rev or -d/--date options, revert the given files or
    directories to their states as of a specific revision. Because
    revert does not change the working directory parents, this will
    cause these files to appear modified. This can be helpful to "back
    out" some or all of an earlier change. See :hg:`backout` for a
    related method.

    Modified files are saved with a .orig suffix before reverting.
    To disable these backups, use --no-backup.

    See :hg:`help dates` for a list of formats valid for -d/--date.

    Returns 0 on success.
    R5Rps'you can't specify a revision and a dates,uncommitted merge with no revision specifiedR?s'use "hg update" or see "hg help revert"RTs!no files or directories specifieds[uncommitted merge, use --all to discard all changes, or 'hg update -C .' to abort the mergesRuncommitted changes, use --all to discard all changes, or 'hg update %s' to updates:use --all to revert all files, or 'hg update %s' to updates5uncommitted changes, use --all to discard all changessuse --all to revert all files(RbRlRmRR`tfinddateRRRR]RRGRR~RpR(RdReRfRgRRRRR?RR~((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs6& 		trollbacksignore safety measurescKs(|jd|jdd|jdS(sroll back the last transaction (DANGEROUS) (DEPRECATED)

    Please use :hg:`commit --amend` instead of rollback to correct
    mistakes in the last commit.

    This command should be used with care. There is only one level of
    rollback, and there is no way to undo a rollback. It will also
    restore the dirstate at the time of the last transaction, losing
    any dirstate changes since that time. This command does not alter
    the working directory.

    Transactions are used to encapsulate the effects of all commands
    that create new changesets or propagate existing changesets into a
    repository.

    .. container:: verbose

      For example, the following commands are transactional, and their
      effects can be rolled back:

      - commit
      - import
      - pull
      - push (with this repository as the destination)
      - unbundle

      To avoid permanent data loss, rollback will refuse to rollback a
      commit transaction if it isn't checked out. Use --force to
      override this protection.

    This command is not intended for use on public repositories. Once
    changes are visible for pull by other users, rolling a transaction
    back locally is ineffective (someone else may already have pulled
    the changes). Furthermore, a race is possible with readers of the
    repository; for example an in-progress pull from the repository
    may fail if a rollback is performed.

    Returns 0 on success, 1 if no rollback data is available.
    tdryrunRZR(RHRb(RdReRg((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRH,s*RcCs|j|jddS(sprint the root (top) of the current working directory

    Print the root directory of the current repository.

    Returns 0 on success.
    s
N(RR(RdRe((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRYss^servet	accesslogs#name of access log file to write totdaemonsrun server in backgroundsdaemon-pipefdssused internally by daemon modetEterrorlogs"name of error log file to write totports!port to listen on (default: 8000)tPORTtaddresss.address to listen on (default: all interfaces)tADDRs0prefix path to serve from (default: server root)Rs6name to show in web pages (default: working directory)sweb-confs3name of the hgweb config file (see "hg help hgweb")swebdir-confs*name of the hgweb config file (DEPRECATED)spid-files#name of file to write process ID totstdiosfor remote clientst	cmdservert	templatessweb templates to usestemplate style to uset6tipv6suse IPv6 in addition to IPv4tcertificatesSSL certificate filec
Ks|dr,|dr,tjtdn|dry|dkrZtjtdntj||}|jn|drtj	|||d}|j
S|jdrtj|jd|d<n|r|j
p|}d}x|jD]q}|j|d}|dkr&qn|jd||d	|r|j|kr|jjd||d	qqW|jd
p|jd}|s|stjtdn|}ntj|d|}t|||}	tj|d
|	jd|	jdS(sstart stand-alone webserver

    Start a local HTTP repository browser and pull server. You can use
    this for ad-hoc sharing and browsing of repositories. It is
    recommended to use a real web server to serve a repository for
    longer periods of time.

    Please note that the server does not implement access control.
    This means that, by default, anybody can read from the server and
    nobody can write to it by default. Set the ``web.allow_push``
    option to ``*`` to allow everybody to push to the server. You
    should use a real web server if you need to authenticate users.

    By default, the server logs accesses to stdout and errors to
    stderr. Use the -A/--accesslog and -E/--errorlog options to log to
    files.

    To have the server choose a free port number to listen on, specify
    a port number of 0; in this case, the server will print the port
    number it uses.

    Returns 0 on success.
    RRRSs#cannot use --stdio with --cmdservers5there is no Mercurial repository here (.hg not found)RNsUname templates style address port prefix ipv6 accesslog errorlog certificate encodingRtwebtservetweb_conftwebdir_confRtinitfntrunfnN(NR(RlRmRR_RR3t	sshservert
serve_forevert
commandserverRRYRbtgetportRRRRdthgwebthttpserviceR`tserviceRtrun(
RdReRgRTRtoptlistRytvaltappRd((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRYcs:4



 	RccBs#eZdZdZdZRS(cCs||_||_||_dS(N(RdRhRg(R{RdRhRg((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR|s		cCsWtjtj|j|j|_|jdrC|jjrCdS|jj	rk|jj	j
dd}nd}d|jj}|dkrd}n|jj}|dkrd}nd|krd	|}n|jj
}d|krd	|}n|jdr|jj}n|jj}|td
|||||jjf|jjdS(NRNRRs:%ds:80s0.0.0.0R0Rs[%s]s-listening at http://%s%s/%s (bound to %s:%d)
(Rltsetsignalhandlerthgweb_servert
create_serverRdRhthttpdRgRR[RRNtaddrtfqaddrRRRR(R{R[RNtbindaddrRnR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs0
		


cCs|jjdS(N(RlR_(R{((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRes(RRR|RRe(((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRcs		!s
^status|stsshow status of all filesR:sshow only modified filesR;s%show only deleted (but tracked) filessshow only files without changestunknowns%show only unknown (not tracked) filestignoredsshow only ignored filessshow source of copied filessshow difference from revisions$list the changed files of a revisionc	Os|jd}|jd}|rH|rHtd}tj|nR|rtj||dj}||jj}ntj	||\}}|r|j
pd}	|jdrdpd}
i}dj}g|D]}
|j|
r|
^q}|jd	r=||jr3|d
 dgp6|7}n|sc|jrV|d
 p]|d }n|j
||tj||||d
|kd|kd|k|jd}t|d|}|jd	s|jdr|jdrtj||||}n|jd|}d|
}|jd}x|D]\}}}||krBd|}x|D]}|j|j|dd|d||jd||j||	d|||krn|jdd|
|j|||	ddqnqnWqBqBW|jdS(sshow changed files in the working directory

    Show status of files in the repository. If names are given, only
    files that match are shown. Files that are clean or ignored or
    the source of a copy/move operation, are not listed unless
    -c/--clean, -i/--ignored, -C/--copies or -A/--all are given.
    Unless options described with "show only ..." are given, the
    options -mardu are used.

    Option -q/--quiet hides untracked (unknown and ignored) files
    unless explicitly requested with -u/--unknown or -i/--ignored.

    .. note::

       status may appear to disagree with diff if permissions have
       changed or a merge has occurred. The standard diff format does
       not report permission changes and diff only reports changes
       relative to one merge parent.

    If one revision is given, it is used as the base revision.
    If two revisions are given, the differences between them are
    shown. The --change option can also be used as a shortcut to list
    the changed files of a revision from its first parent.

    The codes used to show the status of files are::

      M = modified
      A = added
      R = removed
      C = clean
      ! = missing (deleted by non-hg command, but still tracked)
      ? = not tracked
      I = ignored
        = origin of the previous file (with --copies)

    .. container:: verbose

      Examples:

      - show changes in the working directory relative to a
        changeset::

          hg status --rev 9353

      - show all changes including copies in an existing changeset::

          hg status --copies --change 9353

      - get a NUL separated list of added files, suitable for xargs::

          hg status -an0

    Returns 0 on success.
    RpRDs2cannot specify --rev and --change at the same timeRRhRjs
s4modified added removed deleted unknown ignored cleanRTiRiRqRpRXsMAR!?ICR't	no_statusRs%ssstatus.s%s R1RRs  %ss
status.copiedN(RbRRlRmR]RR_R~RRFRRRRR^RR't
pathcopiesRRRRRR(RdReRfRgRqRDRRHRIRRRRRRRFtchangestatesRRtshowcharRRRR1Rs((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRsLI(' ".



%&s^summary|sumRCscheck for push and pulls
[--remote]c)s	d<}|j}|dj}g}x"|D]}jtd|jt|fdd|jjdj|j	dd|j
r|j|j
n|jdkrtsjtdqjtd	njd
|j
r3jd|j
jdjd
ddq3q3W|j}j|}	td|}
|d
krj|
ddnj|
dd|rpj}jtddd|d<k	r2||krjd|dd|j|q2jd|ddnx%|D]}
jd|
ddq9Wjd
ddntjdtd }jj}
gg}}x||
jD]n\}}||dkr|dj||j|n
|j|||dkr|dj|qqW|jd||jd|tj}|jg|D]}||dkrc|^qcg|jD]!}|j|j r|^q}|j|j!tddj!tddj!tdd j!td!d"j!td#d"j!td$d%j!td&d'j!td(d)j!td*d+j!td,dg
}g}x=t"||D],\}}|r|j|t|qqWd-j|}t#}j$j%d.r|td/7}nt|dkrA|td07}n||djkrj|td17}n|dj&r|j|d2tkr|td37}nt|dp|dp|dp|dp|dp|d4s|td57}t}n||	kr|td67}n|rBjtd7|jnjtd7|jtj'j(g|D]}|j^qr|	}|dkrjtd8nI||	krjtd9|n#jtd:|t|	ft)j*j+d;r-tt}}nft#t#}}xDt)j,d<D]*\}}|rnt}n|rSt}qSqSW|r|rd<Sfd=}|r|\}nd<}fd>} |r| \}!}"}#}$nd<}!}"}#}$j+d;r	g}|ra|jtd?n|$j-}|r|jtd@t|n|#p}%dA|%j.dBkrb	j.dA}&|%j.dA}'t/|'t/|&}(t|(dkr	|jtdCt|(nt/|&t/|'}(t|(dkrb	|jtdDt|(qb	n|r	jtdEd-j|q	jtdFnt)j,f|!|"|#|$ffd<S(GsNsummarize working directory state

    This generates a brief summary of the working directory state,
    including parents, branch, commit status, and available updates.

    With the --remote option, this will check the default paths for
    incoming and outgoing changes. This can be time-consuming.

    Returns 0 on success.
    isparent: %d:%s R1slog.changeset changeset.%sR{slog.tagis (empty repository)s (no revision checked out)s
slog.summarysbranch: %s
R^s
log.branchs
bookmarks:slog.bookmarks *sbookmarks.currents [%s]RpiiiiiR7s%d modifiedsstatus.modifieds%d addedsstatus.addeds
%d removedsstatus.removeds
%d renameds
status.copieds	%d copieds
%d deletedsstatus.deleteds
%d unknownsstatus.unknowns
%d ignoredsstatus.ignoreds
%d unresolvedsresolve.unresolveds%d subreposs, tupdatestates (interrupted update)s (merge)s
 (new branch)RBs (head closed)i	s (clean)s (new branch head)scommit: %s
supdate: (current)
s#update: %d new changesets (update)
s3update: %d new changesets, %d branch heads (merge)
RCNcs)tjjd\}}|d}ytji|}Wn9tjk
r|jdrin||dddfSXtj||d\}}|rg|D]}|j	|^q}nj
dtj|j
jtj|d|}j
j|||||dfS(NR^iRCscomparing with %s
RDi(RRgRfRhRR3RbR_RiRRRlRQRdt
pushbufferRjR8t	popbuffer(RR@tsbranchRvRqRwRpt	commoninc(RgReRd(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytgetincomings 
%

c	stjjdd\}}|d}tj|d\}}|krytji|}Wn6tjk
rjdrn||ddfSXj	dt
j|n"dkr||ddfS}|ks
dk	r|krd}n}|rDg|D]}j|^q&}nj
jtj|d|d|}j
j||||fS(Nsdefault-pushR^iRCscomparing with %s
R_Rz(RRgRfRiR_RhRR3RbRRlRQRRdRwRjRkRx(	RR@tdbranchRqRwtdotherR\RpRu(RzRgReRytsotherRRd(s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytgetoutgoings0!
$	%
	
s1 or more incomings%d outgoingR$Rs%d incoming bookmarkss%d outgoing bookmarkssremote: %s
sremote: (synced)
(0R_RR~RRRpR}RHRRR$RRR`RRXRRRR4R\RRRR'R8RRRRAR1RRR1RRctvfsRtclosesbranchRR
R`tsummaryhooksRbtsummaryremotehookstmissingRR()RdReRgRRtpnodeR.R?RRR.RRRvR(RR4RTRERsR5RRRR1tcleanworkdirRt
needsincomingt
needsoutgoingRRyR{RRRR|R}RuRvtlmarkstrmarksRJ((RzRgReRyR~RRds6/usr/lib/python2.7/dist-packages/mercurial/commands.pytsummaryas

("
*	


01
<	 (
%	
!	  ##RKs	force tagsmake the tag localsrevision to tagR\sremove a tags8[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...c	Osd}}z|j}|j}d}g|f|D]}|j^q9}t|tt|krtjtdnx?|D]7}	t	j
||	d|	stjtdqqW|jdr|jdrtjtdn|jdr|d}n|jd}
|jdr|jd	rNd	pQd
}x|D]}	|j|	stjtd|	n|j|	|kr[|d
krtjtd|	qtjtd
|	q[q[Wt
}|
s_ddj|}
q_nQ|jds_x?|D]4}	|	|jkr$tjtd|	q$q$Wn|jd	s|jj\}}
|
t
krtjtdn|j}|jdr|r||krtjtdqnt	j||j}|
s0ddj|t|f}
n|jd}|rWtj|}ntj|}|jdrt	j||jtkrtjtdn|j|||
|jd	|jd|d|Wdt||XdS(sadd one or more tags for the current or given revision

    Name a particular revision using <name>.

    Tags are used to name particular revisions of the repository and are
    very useful to compare different revisions, to go back to significant
    earlier versions or to mark branch points as releases, etc. Changing
    an existing tag is normally disallowed; use -f/--force to override.

    If no revision is given, the parent of the working directory is
    used.

    To facilitate version control, distribution, and merging of tags,
    they are stored as a file named ".hgtags" which is managed similarly
    to other project files and can be hand-edited if necessary. This
    also means that tagging creates a new commit. The file
    ".hg/localtags" is used for local tags (not shared among
    repositories).

    Tag commits are usually made at the head of a branch. If the parent
    of the working directory is not a branch head, :hg:`tag` aborts; use
    -f/--force to force the tag commit to be based on a non-head
    changeset.

    See :hg:`help dates` for a list of formats valid for -d/--date.

    Since tag names have priority over branch names during revision
    lookup, using an existing branch name as a tag name is discouraged.

    Returns 0 on success.
    Rstag names must be uniqueRKs/tag names cannot consist entirely of whitespaceRpR\s#--rev and --remove are incompatibleR/RRstag '%s' does not existstag '%s' is not a global tagstag '%s' is not a local tagsRemoved tag %ss, Rs)tag '%s' already exists (use -f to force)suncommitted merges&not at a branch head (use -f to force)sAdded tag %s for changeset %sR5scannot tag null revisionR8RN(R_RRRRRRlRmRR]RRbttagtypeRRRRRRRR~RRR`RRpRRKR(RdRetname1R9RgRRtrev_RRR#R/texpectedtypeRRRRoR5R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRKNsn*
&


 
"-c	Ks9|jd|}|jr!tp$t}d}xt|jD]\}}||}d}	d}|j|dkrd}	d}n|j|jdd|d|	d	d
t	j
|d}
|j|jd|
|j
j||d|	|j|jo|d
d|d|	|jdq@W|jdS(slist repository tags

    This lists both regular and local tags. When the -v/--verbose
    switch is used, a third column "local" is printed for local tags.

    Returns 0 on success.
    RRstags.normalRs
tags.localRKs%sR1R{is %5d:%ssrev idRs %ss
N(RRRRtreversedRRRRRRRRRRpRtplainR(RdReRgRRIRRRR#thnR1R((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs&
	

Rs	[-p] [-g]cKs4tj|||}|j|d|jdS(s6show the tip revision (DEPRECATED)

    The tip revision (usually just called the tip) is the changeset
    most recently added to the repository (and therefore the most
    recently changed head).

    If you have just made a commit, that commit will be the tip. If
    you have just pulled changes from another repository, the tip of
    that repository becomes the current tip. The "tip" tag is special
    and cannot be renamed or assigned to a different changeset.

    This command is deprecated, please use :hg:`heads` instead.

    Returns 0 on success.
    RN(R`RRR(RdReRgR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRstunbundles6update to new branch head if changesets were unbundleds[-u] FILE...c
Os|f|}|j}zXxQ|D]I}tj||}tj|||}tj||dd|}	q#WWd|jXt|||	|j	ddS(sapply one or more changegroup files

    Apply one or more compressed changegroup files generated by the
    bundle command.

    Returns 0 on success, 1 if an update has unresolved files.
    Rsbundle:NR(RRRRRRbtaddchangegroupRR)RbR_(
RdRetfname1tfnamesRgRRpRsRR%((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRs

s^update|up|checkout|cos'discard uncommitted changes (no backup)tchecks0update across branches if no uncommitted changess[-c] [-C] [-d DATE] [[-r] REV]cCs|r$|r$tjtdn|dks<|dkrE|}ntj|tj|||\}}|}	tj	|||j
}|r|rtjtdn|r|dk	rtjtdntj|||}n|r|d}
|
jdt
dt
dtr:tjtdn|dkrc||djj
}ntj||d||n|jjd	d
|d|rtj||}ntj||}|r|rtj||g|djr|jtd
|jqnu|	|jkrOtj||	|jtd|	n<|	r|jr{|jtd|jntj|n|S(supdate working directory (or switch revisions)

    Update the repository's working directory to the specified
    changeset. If no changeset is specified, update to the tip of the
    current named branch and move the current bookmark (see :hg:`help
    bookmarks`).

    Update sets the working directory's parent revision to the specified
    changeset (see :hg:`help parents`).

    If the changeset is not a descendant or ancestor of the working
    directory's parent, the update is aborted. With the -c/--check
    option, the working directory is checked for uncommitted changes; if
    none are found, the working directory is updated to the specified
    changeset.

    .. container:: verbose

      The following rules apply when the working directory contains
      uncommitted changes:

      1. If neither -c/--check nor -C/--clean is specified, and if
         the requested changeset is an ancestor or descendant of
         the working directory's parent, the uncommitted changes
         are merged into the requested changeset and the merged
         result is left uncommitted. If the requested changeset is
         not an ancestor or descendant (that is, it is on another
         branch), the update is aborted and the uncommitted changes
         are preserved.

      2. With the -c/--check option, the update is aborted and the
         uncommitted changes are preserved.

      3. With the -C/--clean option, uncommitted changes are discarded and
         the working directory is updated to the requested changeset.

    To cancel an uncommitted merge (and lose your changes), use
    :hg:`update --clean .`.

    Use null as the changeset to remove the working directory (like
    :hg:`clone -U`).

    If you want to revert just one file to an older revision, use
    :hg:`revert [-r REV] NAME`.

    See :hg:`help dates` for a list of formats valid for -d/--date.

    Returns 0 on success, 1 if there are unresolved files.
    s please specify just one revisionRs-cannot specify both -c/--check and -C/--cleans'you can't specify a revision and a dateRRRsuncommitted changesRdRRRsupdating bookmark %s
s(activating bookmark %s)
s(leaving bookmark %s)
N(RlRmRR_R`tclearunfinishedR$R$R]RRpRGRRcRRRt
_checkunknownRdRRRRR~RR4R3R6R5(RdReR~RpRR5RRSR'tbrevRvR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyRsJ;	


" 	R9cCs
tj|S(sverify the integrity of the repository

    Verify the integrity of the current repository.

    This will perform an extensive check of the repository's
    integrity, validating the hashes and checksums of each entry in
    the changelog, manifest, and tracked files, as well as the
    integrity of their crosslinks and indices.

    Please see http://mercurial.selenic.com/wiki/RepositoryCorruption
    for more information about recovery from corruption of the
    repository.

    Returns 0 on success, 1 if errors are encountered.
    (RR9(RdRe((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyR9}scCs|jtdtj|jtd|jtd|jrg}g}x=tjD]/\}}|j||jtj	|qeW|rt
d|D}x;t|D]*\}}|jd||||fqWqndS(s(output version and copyright informations'Mercurial Distributed SCM (version %s)
s(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2014 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
s
Enabled extensions:

css|]}t|VqdS(N(R(RR#((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pys	<genexpr>ss  %-*s  %s
N(RRRlRRRRt
extensionsRt
moduleversionRR_(RdR9tversRtmodulet
maxnamelenR((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pytversion_s	
	
(R~RRRRRRRti18nRRRRRRRZRRRR]RlRR'RR$R@R!RRRjRRbR`RR^RbR`RRRjRRRRR\RRRRRRR?R7R9RR5RRRR	RRRRYR_RRcR
t
dryrunoptsR@twalkoptst
commitoptstcommitopts2ttemplateoptstlogoptsRt
diffwsoptst	diffopts2t
mergetooloptstsimilarityoptstsubrepooptsRRaRiRRRRRRR@RQRxRRRRRRRRRRRR)R-R2R[RaRiRoRtRRRRRRRRRRRRRR/R0R2R8R<RJRLRMRNRgRDRRRRRRRPRRuRRRR)RR0R8R\RR=RRHRRYRRcRRRKRRRRR9R(((s6/usr/lib/python2.7/dist-packages/mercurial/commands.pyt<module>s@(TT<0$$0<$																						1			"RzAy		71		!C		l|c5'17	@!
!
!)'!b'
!*<'!!	4'OQ	!K'#					@	~
>&G:		m*!*+!L		D			Y	_5tsqD	(,
		!B+/g*!d 		!f

Copyright © 2017 || Recoded By Mr.Bumblebee