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/relink.pyc
ó
ÛXc@@s¾dZddlmZddlZddlZddlmZddlmZm	Z	m
Z
mZiZej
eƒZ
dZe
dgedƒƒdd	„ƒZd
„Zd„Zd„ZdS(
s-recreates hardlinks between repository clonesi(tabsolute_importN(t_(tcmdutilterrorthgtutilsships-with-hg-coretrelinks[ORIGIN]c	K@sˆtjtdƒs&tjtdƒr>tjtdƒƒ‚ntj|j|j|pYd|pbdƒƒ}|j	tdƒ|j
j|j
jfƒ|j|jkr½|j	tdƒƒdStj
|j
j|j
jƒsótjtd	ƒƒ‚n|jƒ}zw|jƒ}zYtt||ƒƒ}t||j
j|j
j|ƒ}t|j
j|j
j||ƒWd|jƒXWd|jƒXdS(
s³recreate hardlinks between two repositories

    When repositories are cloned locally, their data files will be
    hardlinked so that they only use the space of a single repository.

    Unfortunately, subsequent pulls into either repository will break
    hardlinks for any files touched by the new changesets, even if
    both repositories end up pulling the same changes.

    Similarly, passing --rev to "hg clone" will fail to use any
    hardlinks, falling back to a complete copy of the source
    repository.

    This command lets you recreate those hardlinks and reclaim that
    wasted space.

    This repository will be relinked to share space with ORIGIN, which
    must be on the same local disk. If ORIGIN is omitted, looks for
    "default-relink", then "default", in [paths].

    Do not attempt any read operations on this repository while the
    command is running. (Both repositories will be locked against
    writes.)
    tsamefilet
samedevices*hardlinks are not supported on this systemsdefault-relinktdefaultsrelinking %s to %s
sthere is nothing to relink
Ns/source and destination are on different devices(RtsafehasattrRtAbortRRt
repositorytbaseuit
expandpathtstatuststoretpathtrootRtlocktsortedtcollecttprunet	do_relinktrelease(	tuitrepotorigintoptstsrct	locallockt
remotelockt
candidatesttargets((s0/usr/lib/python2.7/dist-packages/hgext/relink.pyRs()!#c
C@s—ttjjƒ}g}t|djƒƒ}|dd}|jj}d}|jtdƒ||fƒxòtj|ƒD]á\}}}	|j	ƒ|t|ƒ|}
x±t
|	ƒD]£}|dd
krÑqµntjtjj||ƒƒ}tj
|jƒsqµn|d	7}|jtjj|
|ƒ|fƒ|jtd
ƒ||tdƒ|ƒqµWq{W|jtd
ƒdƒ|jtdƒt|ƒƒ|S(Nttipiiis6tip has %d files, estimated total number of files: %d
iþÿÿÿs.ds.iit
collectingtfiless%collected %d candidate storage files
(s.ds.i(tlentosRtseptmanifestRRRtwalktsortRtstattjointS_ISREGtst_modetappendtprogresstNone(
RRtseplenR tlivettotaltpostdirpathtdirnamest	filenamestrelpathtfilenametst((s0/usr/lib/python2.7/dist-packages/hgext/relink.pyRRs.

"-c
C@s
d„}g}t|ƒ}d}x²|D]ª\}}	|d7}tjj||ƒ}
tjj||ƒ}||
||	ƒ}|s—|jd|ƒq(n|j||jfƒ|jtdƒ||tdƒ|ƒq(W|jtdƒdƒ|j
tdƒt|ƒƒ|S(NcS@s‚ytj|ƒ}Wntk
r'tSXtj||ƒr>tStj||ƒshtjt	dƒƒ‚n|j
|j
kr~tS|S(Ns/source and destination are on different devices(R&R+tOSErrortFalseRRRRRRtst_size(RtdstR;tts((s0/usr/lib/python2.7/dist-packages/hgext/relink.pyt
linkfilterss
iisnot linkable: %s
tpruningR$s,pruned down to %d probably relinkable files
(R%R&RR,tdebugR/R>R0RR1R(
R RR?RRAR!R4R5tfnR;tsrcpathttgtR@((s0/usr/lib/python2.7/dist-packages/hgext/relink.pyRrs"	
)cC@sÎd„}d}d}d}d}t|ƒ}	x^|D]V\}
}|d7}tjj||
ƒ}tjj||
ƒ}
t|dƒ}t|
dƒ}|j|ƒ}x8|rÛ|j|ƒ}||krÉPn|j|ƒ}q¤W|jƒ|jƒ|r
|jd|
ƒq4nyJ|||
ƒ|jt	dƒ||
t	dƒ|	ƒ|d7}||7}Wq4t
k
r‰}|jd	|
t|ƒfƒq4Xq4W|jt	dƒdƒ|jt	d
ƒ|tj|ƒfƒdS(NcS@sf|d}tj||ƒytj||ƒWn$tk
rTtj||ƒ‚nXtj|ƒdS(Ns.bak(R&trenameRtoslinkR<tremove(RR?tbak((s0/usr/lib/python2.7/dist-packages/hgext/relink.pyt
relinkfile–s

iiitrbsnot linkable: %s
t	relinkingR$s%s: %s
s!relinked %d files (%s reclaimed)
(R%R&RR,tfiletreadtcloseRCR0RR<twarntstrR1RRt	bytecount(RR?R$RRKtCHUNKLENtrelinkedt
savedbytesR5R4tftsztsourceRFtsfptdfptsintdintinst((s0/usr/lib/python2.7/dist-packages/hgext/relink.pyR•sB	

	


%
%(t__doc__t
__future__RR&R+tmercurial.i18nRt	mercurialRRRRtcmdtabletcommandt
testedwithR1RRRR(((s0/usr/lib/python2.7/dist-packages/hgext/relink.pyt<module>s"3	 	#