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/convert/git.pyc
ó
x7_c@@s‘ddlmZddlZddlmZddlmZmZmZ	ddl
mZdefd„ƒYZ
d	ejejfd
„ƒYZdS(i(tabsolute_importN(t_(tconfigterrortnodei(tcommont	submodulecB@s#eZd„Zd„Zd„ZRS(cC@s||_||_||_dS(N(tpathRturl(tselfRRR((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyt__init__s		cC@sd|j|jfS(Ns%s = [git]%s(RR(R	((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pythgsubscC@sd|j|jfS(Ns%s %s(RR(R	((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyt
hgsubstates(t__name__t
__module__R
RR(((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyRs		tconvert_gitcB@sËeZd„Zd„Zd„Zd„Zd„Zd„Zdd„Z	d„Z
d„Zd	„Zd
„Z
d„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zdd„ZRS(cO@s|d|j||ŽS(Ns--git-dir=%s(R(R	tcmdtargstkwargs((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyt_gitcmd'scO@s|j|j||ŽS(N(Rtrun0(R	RR((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgitrun0*scO@s|j|j||ŽS(N(Rtrun(R	RR((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgitrun-scO@s|j|j||ŽS(N(Rt	runlines0(R	RR((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgitrunlines00scO@s|j|j||ŽS(N(Rtrunlines(R	RR((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgitrunlines3scO@s|j|j||ŽS(N(Rt_run3(R	RR((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgitpipe6scC@s{tt|ƒj||d|ƒtjj||dƒtjj|ƒ}tjj|dƒrj|d7}ntjj	|dƒsœtj
tdƒ|ƒ‚n|jdddd	ƒ}|d
ksÌ|dkrät
jtdƒƒ‚n|d
kr1d
|g|_|jddtƒ}|r:|jjdƒq:n	g|_tjddddƒ||_g|_|jddƒ|_dS(Ntrevstgits/.gits/objectss&%s does not look like a Git repositorytconvertsgit.similaritytdefaulti2iids$similarity must be between 0 and 100s-C%d%%sgit.findcopiesharders--find-copies-hardertdebnamesgit-corescat-files--batch(tsuperRR
RtcommandlinetosRtabspathtisdirtexiststNoRepoRt	configintRtAborttsimoptt
configbooltFalsetappendt	checktoolt
submodulesRtcatfilepipe(R	tuiRRt
similaritytfindcopiesharder((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyR
9s,

				cC@s"x|jD]}|jƒq
WdS(N(R2tclose(R	tf((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytafter[scC@s½|jsQ|jdddƒ\}}|jƒ}|r¹tjtdƒƒ‚q¹nhg}x_|jD]T}|jdd|ƒ\}}|j|d ƒ|ratjtdƒ|ƒ‚qaqaW|S(Ns	rev-parses
--branchess	--remotesscannot retrieve git headss--verifyiÿÿÿÿscannot retrieve git head "%s"(RRt
splitlinesRR+RR/(R	toutputtstatustheadstrevtrawheadtret((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgetheads_s	 cC@sþ|tjkrt‚n|jdj|dƒ|jdjƒ|jdjƒjƒ}|d|krŒtj	t
dƒ||fƒ‚nt|dƒ}|jdj|ƒ}t
|ƒ|krætj	t
dƒ||fƒ‚n|jdjdƒ|S(Nis
iscannot read %r object at %sis,cannot read %r object at %s: unexpected size(tnodemodtnullhextIOErrorR2twritetflushtreadlinetsplitRR+Rtinttreadtlen(R	R=ttypetinfotsizetdata((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytcatfilens	"cC@sÈ|tjkrdS|dkrVdjg|jƒD]}|jƒ^q2ƒ}d}nh|dkr™djg|jƒD]}|jƒ^quƒ}d}n%|j|dƒ}|j||f}||fS(Ns.hgsubs
ts.hgsubstatetblob(NN(	RARBtNonetjoint
submoditerRRROt	modecache(R	tnameR=tmRNtmode((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgetfiles.	.	cc@sGtj}x7t|jdd„ƒD]}|j|kr"|Vq"q"WdS(NtkeycS@s|jS(N(R(tp((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyt<lambda>s(RARBtsortedR1R(R	tnullRW((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyRTs	cC@s¥g|_tjƒ}|jddjd„|jdƒDƒƒƒx]|jƒD]O}||}d|krNd|krN|jjt|dd|dƒƒqNqNWdS(sParse the formatted .gitmodules file, example file format:
        [submodule "sub"]

        	path = sub

        	url = git://giturl

        s.gitmoduless
cs@s|]}|jƒVqdS(N(tstrip(t.0tline((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pys	<genexpr>œsRRRPN(R1RtparseRSRGtsectionsR/R(R	tcontenttctsects((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytparsegitmodules“s	
cC@sá|jdd|dfƒ\}}|rF|jjtdƒ|ƒdSy|j|ƒWn/tjk
rˆ|jjtdƒ|ƒdSXxQ|jD]F}|jdd||jfƒ\}}|rÊq“n|j	ƒ|_
q“WdS(Ntshows%s:%ss.gitmoduless2warning: cannot read submodules config file in %s
s+warning: unable to parse .gitmodules in %s
s	rev-parse(RR3twarnRRhRt
ParseErrorR1RR_R(R	tversiontmodulesR?RWR((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytretrievegitmodules£s "%c@sŽ|rtjtdƒƒ‚niˆ_dddddgˆj|g}ˆj|Œ\}}|rtjtdƒ|ƒ‚ng‰i}tƒ‰d}tg‰tg‰|j	dƒ}t
|ƒ}	d	}
ˆjjd
dtƒ‰‡‡‡‡‡‡fd†}x,|
|	kr3||
}|
d
7}
|sU|j
dƒsCqn|j	ƒ}qn|}
|dd	dkrœ|
}||
}|
d
7}
|}
|||<n|
ˆkr»|||
tƒn|dd	dkr*||
}|
d
7}
|ˆkr*|||tƒ|
dkr'|dkr'|
||<q'q*nd}qWˆd	r~ˆd	raˆjdtjfƒq~ˆj|ƒˆjdƒnˆ|tƒfS(Ns(convert from git does not support --fulls	diff-trees-zs--roots-ms-rscannot read changes in %ssiR sgit.skipsubmodulesc@sEˆj|ƒ|d}|ddk}|ddk}|oO|dddk}|dkr»ˆrhdStˆd<|dd	ksˆ|r«tˆd<ˆjd
tjfƒqAˆjdƒn†|ddksÛ|dd
krñˆsAtˆd<qAnP|rtj}n|rdp|rdpdˆj||f<ˆj||fƒdS(Niit100755t120000iitRs.gitmodulestDs.hgsubRPt160000s:160000txtl(s.hgsubRP(taddtTrueR/RARBRU(tentryR7tisdestthR[Rgtrenamesource(tchangestseenR	tskipsubmodulest
subdeletedt	subexists(s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyRvÍs(



 +it:itCRqs.gitmoduless.hgsubstateRP(s.hgsubstateRP(RR+RRUR,RtsetRRR.RGRJR3R-t
startswithRwR/RARBRn(R	RltfullRR:R;tcopiesRxtdifftreetlcounttiRvRuR7tcopysrctcopydesttfdest((R|R}R	R~RR€s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyt
getchanges¹sd	#				










cC@s5|j|dƒ}|jdƒ}||d}|j|ƒ}|| jƒ}g}d}}x |dD]}	|	jddƒ\}
}|
dkrô|jƒ}|d\}
}dj|d ƒ}|dd	krâ|dd
!}n|j|ƒ}n|
dkra|jƒ}|d\}
}dj|d ƒ}|dd	krO|dd
!}n|j|ƒ}n|
dkri|j|ƒqiqiW|r¤||kr¤|d
|7}n|dd!d|dd!|d}}}t|ƒt|ƒdt|ƒ}|
dt	|ƒ}t
jd|d|d|d|d|ƒ}|S(Ntcommits

iit tauthoriþÿÿÿit<iÿÿÿÿt	committertparents
committer: %s
iûÿÿÿiüÿÿÿt1itparentstdatetdescR=(ROtfindtrecodeR9RRRGRSR/RHtstrRRŽ(R	RlRetendtmessageRuR•RR’tetntvR[ttmttzttzsttzhttzmR–((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyt	getcommitsD
*%	cC@sG|jddƒ\}}|r=tjtdƒ|jƒ‚nt|ƒS(Nsrev-lists--alls'cannot retrieve number of commits in %s(RRR+RRRJ(R	R:R?((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyt
numcommits2s
c	C@sMi}i}|jdd|jƒ\}}|rOtjtdƒ|jƒ‚nd}x˜|D]}|jƒ}|jdƒsŒ|jdƒr«tjtdƒ|jƒ‚n|jddƒ\}}|j|ƒsØq\n|||t	|ƒ<q\WxV|D]N}|j
dƒr!||||d	 <q÷|d|kr7q÷q÷||||<q÷W|S(
Ns	ls-remotes--tagsscannot read tags from %ss
refs/tags/serror:sfatal:is^{}iýÿÿÿ(RRRR+RR_R„RGRRRJtendswith(	R	ttagstalltagsR:R;tprefixRaRttag((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgettags9s*

c	
C@sg}|dkr¡|jdddd|ƒ\}}|rUtjtdƒ|ƒ‚nxÂ|D]>}d|krtq\n|d jdƒ\}}|j|ƒq\Wny|jdddd|d	||d
fdƒ\}}|røtjtdƒ|ƒ‚ng|D]}|jdƒ^qÿ}|S(
Ns	diff-trees--roots-ms-rscannot read changes in %ss	iÿÿÿÿs--name-onlys%s^%sis--s
(RRRRR+RRGR/trstrip(	R	RlR‰R|R:R;RuRWR7((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgetchangedfilesXs$
	 "cC@si}|jjdddƒ}d|dfdg}tdgƒ}y«|jd	ƒ\}}x|D]‡}|jƒ}|jdd
ƒ\}}	xZ|D]R\}
}|	j|
ƒs“|	|krÁq“nd||	t|
ƒf}	|||	<q“WqbWWnt	k
rnX|S(
NR sgit.remoteprefixtremotesrefs/remotes/origin/t/srefs/heads/RPsrefs/remotes/origin/HEADsshow-refis%s%s(srefs/heads/RP(
R3RRƒRR_RGRRR„RJt	Exception(R	t	bookmarkstremoteprefixtreftypestexcludeR:R;RaR=RVt	gitprefixthgprefix((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytgetbookmarksns&
	

t	splicemapcC@s|j||ƒdS(s& git revision string is a 40 byte hex N(tcheckhexformat(R	trevstrtmapname((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pytcheckrevformatsN(R
RRRRRRRRRR
R8R@RORYRTRhRnRR¥R¦R¬R®R¸R½(((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyR"s*						"								U	$				(t
__future__RR%tmercurial.i18nRt	mercurialRRRRARPRtobjectRtconverter_sourceR$R(((s5/usr/lib/python2.7/dist-packages/hgext/convert/git.pyt<module>s