HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python2.7/dist-packages/hgext/hgk.pyc
ó
x7_c@@sidZddlmZddlZddlmZddlmZmZm	Z	ddl
mZmZm
Z
mZmZiZejeƒZdZedd	d
dedƒfdd
ded
ƒfdddedƒfdddedƒfdddedƒfdddedƒfgddeƒddd„ƒZdd„Zedgedƒƒd„ƒZeddddedƒfged ƒdeƒddd!„ƒZd"ded#„Zed$d%d&ded&ƒfd'd(ded(ƒfd	d)ded)ƒfd*d+ded+ƒfgd,ƒd-„ƒZed.d/d0ded1ƒed2ƒfged3ƒƒd4„ƒZdS(5sôbrowse the repository in a graphical way

The hgk extension allows browsing the history of a repository in a
graphical way. It requires Tcl/Tk version 8.4 or later. (Tcl/Tk is not
distributed with Mercurial.)

hgk consists of two parts: a Tcl script that does the displaying and
querying of information, and an extension to Mercurial named hgk.py,
which provides hooks for hgk to get information. hgk can be found in
the contrib directory, and the extension is shipped in the hgext
repository, and needs to be enabled.

The :hg:`view` command will launch the hgk Tcl script. For this command
to work, hgk must be in your search path. Alternately, you can specify
the path to hgk in your configuration file::

  [hgk]
  path = /location/of/hgk

hgk can make use of the extdiff extension to visualize revisions.
Assuming you had already configured extdiff vdiff command, just add::

  [hgk]
  vdiff=vdiff

Revisions context menu will now display additional entries to fire
vdiff on hovered and selected revisions.
i(tabsolute_importN(t_(tnullidtnullrevtshort(tcmdutiltcommandstobsoletetpatchtscmutilsships-with-hg-coresdebug-diff-treetpRsgenerate patchtrt	recursivetPtprettytststdintCtcopys
detect copiestStsearchts![OPTION]... NODE1 NODE2 [FILE]...t	inferrepoc@s‹g‡fd†}xrtr†|dr‚yEtƒjdƒ}|d}t|ƒdkrc|d}nd}Wq‚tk
r~Pq‚Xn|j|ƒ}|r©|j|ƒ}n|}|jj|ƒd}|dr_|drït	ˆ||dƒnt
j|||ƒ}tj
ˆƒ}	t|	_tj|||d	|d
|	ƒ}
x4|
D]}ˆj|ƒqEWn||||d|ƒ|dsPqqWdS(
sdiff trees from two commitsc@s,|dk	st‚||jƒ}||jƒ}tj|||ƒ}|j|||ƒd \}}}	ttƒ}
x?|D]7}ˆjdt||ƒt||ƒ||fƒq}Wx5|D]-}ˆjd|
t||ƒ||fƒq¿Wx5|	D]-}ˆjdt||ƒ|
||fƒq÷WdS(Nis:100664 100664 %s %s M	%s	%s
s:000000 100664 %s %s N	%s	%s
s:100664 000000 %s %s D	%s	%s
(	tNonetAssertionErrortmanifestR	tmatchtstatusRRtwrite(trepotnode1tnode2tfilestmmaptmmap2tmtmodifiedtaddedtremovedtemptytf(tui(s-/usr/lib/python2.7/dist-packages/hgext/hgk.pyt
__difftreeJs"
	,
	"
	Rt iiRRRRtoptsR N(tTruet	raw_inputtsplittlenRtEOFErrortlookupt	changelogtparentst	catcommitR	RRtdifffeatureoptstgittdiffR(R)RRRR R,R*tlineR#tdiffoptstchunkstchunk((R)s-/usr/lib/python2.7/dist-packages/hgext/hgk.pytdifftree?s:	






		

c	C@sÊd|}|dkr#||}n|jdt|jƒdƒƒx%|jƒD]}|jd|ƒqQW|jƒ}|jƒjddƒ}|jd|jƒt	|dƒ|dfƒd	|j
ƒkrî|jd
|j
ƒd	ƒn|jd|jƒƒ|jd|jƒƒt
j|t
jƒrP|j
ƒrP|jd
ƒqPn|jd|jƒƒ|dkrŸ|jd||jd|ƒjƒfƒn|j|dƒ|rÆ|jdƒndS(Ns
stree %s
is
parent %s
sRsauthor %s %s %s
it	committers
committer %s
srevision %d
s
branch %s
s	obsolete
s
phase %s

s%s%s
(RRRt	changesetR4tdatetdescriptiontreplacetusertinttextratrevtbranchRt	isenabledtcreatemarkersopttphasestrtstrip(	R)RtntprefixtctxtnlprefixR
R@RA((s-/usr/lib/python2.7/dist-packages/hgext/hgk.pyR5~s.

!. sdebug-merge-basesREV REVcC@sN|j|ƒ}|j|ƒ}|jj||ƒ}|jt|ƒdƒdS(s"output common ancestor informations
N(R2R3tancestorRR(R)RRRRL((s-/usr/lib/python2.7/dist-packages/hgext/hgk.pytbasessdebug-cat-files[OPTION]... TYPE FILEcK@sd}|drJy"tƒjdƒ\}}d}Wq~tk
rFdSXn4|sX|r~|jtdƒƒtj|dƒnxŽ|r|dkrª|jtd	ƒƒd
S|j|ƒ}t||||ƒ|dr
ytƒjdƒ\}}Wqtk
rPqXqPqWdS(scat a specific revisionRRR+s    Ns(cat-file: type or revision not supplied
scat-filetcommits.aborting hg cat-file only understands commits
i(	R.R/R1twarnRRthelp_R2R5(R)RttypeRR,RMRL((s-/usr/lib/python2.7/dist-packages/hgext/hgk.pytcatfile¥s,



	

ttreec@s‡‡fd†}d„}g}g}	g}
d}x~t|ƒD]p\}}
|
jdƒr‹ˆj|
dƒ}|	j|ƒ|
j|ƒq@|
dkr@|
jˆj|
ƒƒq@q@WxÒt|
ƒD]Ä\}}|jtƒƒ|g}||j|ƒx‹|r„|jdƒ}||	kr!qúnx]ˆjj|ƒD]I}|||krk||j|ƒ|j|ƒn||	kr4q4q4q4WqúWqÁWxq|ƒD]f\}}|ˆkr±q“nˆjj	|ƒ}||
||ƒ}|r“d}|rRˆjj|ƒ}|dt
kr$|dt|dƒ7}n|dt
krR|dt|dƒ7}qRnˆsx|jd	t|ƒ|fƒn^ˆd
krº|jd	t|ƒ|fƒt
|ˆ|d|ƒnˆjj|ƒ\}}tt|||fƒ\}}}tˆjj||fƒ\}}|jƒd}|jd|||fƒ||
||ƒ}|tkr…|dkr…|jd
||fƒfn||
||ƒ}|tkrÉ|dkrÉ|jd
||fƒn|jdƒ|rì||krìPn|d7}q“q“WdS(Nc3@sgtˆƒ}|}dgd}d}x;trb||krI|}d}n
||8}x t|ƒD]’}|||kr“dg|||||)Pnˆdk	rÕ||ˆkròˆ||||<||jƒqòq`||ˆkr`d||<q`q`WxVt|dddƒD]>}||dkr
||ˆdk	r@||pCdfVq
q
W|dkr(Pq(q(WdS(Niidiiÿÿÿÿ(R0R-txrangeRR?(tcounttitlR<tx(tfullR(s-/usr/lib/python2.7/dist-packages/hgext/hgk.pyt	chlogwalkÐs0
		
,cS@s^t|ƒdkrdSd}x;tt|ƒƒD]'}|||kr/|d|>O}q/q/W|S(Nii(R0RX(tart	reachabletshatmaskRZ((s-/usr/lib/python2.7/dist-packages/hgext/hgk.pytis_reachableîsit^itHEADRR+s%s%s
RRs    s%s %s:%ss%s:%s s
(t	enumeratet
startswithR2tappendtsettaddtpopR3R4tnodeRRRR5tmapRFR@R(R)targsRR]tmaxnrR4R^RcR`t	stop_sha1t	want_sha1RYRZtargRRLtvisitR
RNRbt	parentstrtpptp1tp2thth1th2ti1ti2R@((R]Rs-/usr/lib/python2.7/dist-packages/hgext/hgk.pytrevtreeÏsx	

		 !!
sdebug-rev-listtHtheadertts
topo-orderR4RLs	max-counts[OPTION]... REV...cO@sW|drd}nd}g|D]}|^q }t|||||d|dƒdS(sprint revisionsRRRt	max_countR4N(RR}(R)RtrevsR,R]R\R((s-/usr/lib/python2.7/dist-packages/hgext/hgk.pytrevlist@s

	tviewR[tlimits!limit number of changes displayedtNUMs[-l LIMIT] [REVRANGE]cO@s¸tj|jƒdjg|jƒD]"\}}|r#d||f^q#ƒ}|jd	krj|d7}n|jdddƒd|dj|ƒf}|jd|ƒ|j	|ƒd	S(
s start interactive history viewerR+s--%s %ss--hiddenthgktpaths/usr/share/mercurial/hgks %s %ssrunning %s
N(
tostchdirtroottjoint	iteritemst
filternameRtconfigtdebugtsystem(R)RtetcR,tktvtoptstrtcmd((s-/usr/lib/python2.7/dist-packages/hgext/hgk.pyR„Os>
,(t__doc__t
__future__RR‰tmercurial.i18nRtmercurial.nodeRRRt	mercurialRRRRR	tcmdtabletcommandt
testedwithRR-R=R5RQRVtFalseR}RƒR„(((s-/usr/lib/python2.7/dist-packages/hgext/hgk.pyt<module>#sH(6!&q