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
# blackbox.py - log repository events to a file for post-mortem debugging # # Copyright 2010 Nicolas Dumazet # Copyright 2013 Facebook, Inc. # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. """log repository events to a blackbox for debugging Logs event information to .hg/blackbox.log to help debug and diagnose problems. The events that get logged can be configured via the blackbox.track config key. Examples:: [blackbox] track = * [blackbox] track = command, commandfinish, commandexception, exthook, pythonhook [blackbox] track = incoming [blackbox] # limit the size of a log file maxsize = 1.5 MB # rotate up to N log files when the current one gets too big maxfiles = 3 """ from mercurial import util, cmdutil from mercurial.i18n import _ import errno, os, re cmdtable = {} command = cmdutil.command(cmdtable) testedwith = 'internal' lastblackbox = None def wrapui(ui): class blackboxui(ui.__class__): @util.propertycache def track(self): return self.configlist('blackbox', 'track', ['*']) def _openlogfile(self): def rotate(oldpath, newpath): try: os.unlink(newpath) except OSError, err: if err.errno != errno.ENOENT: self.debug("warning: cannot remove '%s': %s\n" % (newpath, err.strerror)) try: if newpath: os.rename(oldpath, newpath) except OSError, err: if err.errno != errno.ENOENT: self.debug("warning: cannot rename '%s' to '%s': %s\n" % (newpath, oldpath, err.strerror)) fp = self._bbopener('blackbox.log', 'a') maxsize = self.configbytes('blackbox', 'maxsize', 1048576) if maxsize > 0: st = os.fstat(fp.fileno()) if st.st_size >= maxsize: path = fp.name fp.close() maxfiles = self.configint('blackbox', 'maxfiles', 7) for i in xrange(maxfiles - 1, 1, -1): rotate(oldpath='%s.%d' % (path, i - 1), newpath='%s.%d' % (path, i)) rotate(oldpath=path, newpath=maxfiles > 0 and path + '.1') fp = self._bbopener('blackbox.log', 'a') return fp def log(self, event, *msg, **opts): global lastblackbox super(blackboxui, self).log(event, *msg, **opts) if not '*' in self.track and not event in self.track: return if util.safehasattr(self, '_blackbox'): blackbox = self._blackbox elif util.safehasattr(self, '_bbopener'): try: self._blackbox = self._openlogfile() except (IOError, OSError), err: self.debug('warning: cannot write to blackbox.log: %s\n' % err.strerror) del self._bbopener self._blackbox = None blackbox = self._blackbox else: # certain ui instances exist outside the context of # a repo, so just default to the last blackbox that # was seen. blackbox = lastblackbox if blackbox: date = util.datestr(None, '%Y/%m/%d %H:%M:%S') user = util.getuser() formattedmsg = msg[0] % msg[1:] try: blackbox.write('%s %s> %s' % (date, user, formattedmsg)) except IOError, err: self.debug('warning: cannot write to blackbox.log: %s\n' % err.strerror) lastblackbox = blackbox def setrepo(self, repo): self._bbopener = repo.opener ui.__class__ = blackboxui def uisetup(ui): wrapui(ui) def reposetup(ui, repo): # During 'hg pull' a httppeer repo is created to represent the remote repo. # It doesn't have a .hg directory to put a blackbox in, so we don't do # the blackbox setup for it. if not repo.local(): return if util.safehasattr(ui, 'setrepo'): ui.setrepo(repo) @command('^blackbox', [('l', 'limit', 10, _('the number of events to show')), ], _('hg blackbox [OPTION]...')) def blackbox(ui, repo, *revs, **opts): '''view the recent repository events ''' if not os.path.exists(repo.join('blackbox.log')): return limit = opts.get('limit') blackbox = repo.opener('blackbox.log', 'r') lines = blackbox.read().split('\n') count = 0 output = [] for line in reversed(lines): if count >= limit: break # count the commands by matching lines like: 2013/01/23 19:13:36 root> if re.match('^\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} .*> .*', line): count += 1 output.append(line) ui.status('\n'.join(reversed(output)))