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
/
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
# churn.py - create a graph of revisions count grouped by template # # Copyright 2006 Josef "Jeff" Sipek <jeffpc@josefsipek.net> # Copyright 2008 Alexander Solovyov <piranha@piranha.org.ua> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. '''command to display statistics about repository history''' from mercurial.i18n import _ from mercurial import patch, cmdutil, scmutil, util, templater, commands import os import time, datetime testedwith = 'internal' def maketemplater(ui, repo, tmpl): tmpl = templater.parsestring(tmpl, quoted=False) try: t = cmdutil.changeset_templater(ui, repo, False, None, None, False) except SyntaxError, inst: raise util.Abort(inst.args[0]) t.use_template(tmpl) return t def changedlines(ui, repo, ctx1, ctx2, fns): added, removed = 0, 0 fmatch = scmutil.matchfiles(repo, fns) diff = ''.join(patch.diff(repo, ctx1.node(), ctx2.node(), fmatch)) for l in diff.split('\n'): if l.startswith("+") and not l.startswith("+++ "): added += 1 elif l.startswith("-") and not l.startswith("--- "): removed += 1 return (added, removed) def countrate(ui, repo, amap, *pats, **opts): """Calculate stats""" if opts.get('dateformat'): def getkey(ctx): t, tz = ctx.date() date = datetime.datetime(*time.gmtime(float(t) - tz)[:6]) return date.strftime(opts['dateformat']) else: tmpl = opts.get('template', '{author|email}') tmpl = maketemplater(ui, repo, tmpl) def getkey(ctx): ui.pushbuffer() tmpl.show(ctx) return ui.popbuffer() state = {'count': 0} rate = {} df = False if opts.get('date'): df = util.matchdate(opts['date']) m = scmutil.match(repo[None], pats, opts) def prep(ctx, fns): rev = ctx.rev() if df and not df(ctx.date()[0]): # doesn't match date format return key = getkey(ctx).strip() key = amap.get(key, key) # alias remap if opts.get('changesets'): rate[key] = (rate.get(key, (0,))[0] + 1, 0) else: parents = ctx.parents() if len(parents) > 1: ui.note(_('revision %d is a merge, ignoring...\n') % (rev,)) return ctx1 = parents[0] lines = changedlines(ui, repo, ctx1, ctx, fns) rate[key] = [r + l for r, l in zip(rate.get(key, (0, 0)), lines)] state['count'] += 1 ui.progress(_('analyzing'), state['count'], total=len(repo)) for ctx in cmdutil.walkchangerevs(repo, m, opts, prep): continue ui.progress(_('analyzing'), None) return rate def churn(ui, repo, *pats, **opts): '''histogram of changes to the repository This command will display a histogram representing the number of changed lines or revisions, grouped according to the given template. The default template will group changes by author. The --dateformat option may be used to group the results by date instead. Statistics are based on the number of changed lines, or alternatively the number of matching revisions if the --changesets option is specified. Examples:: # display count of changed lines for every committer hg churn -t '{author|email}' # display daily activity graph hg churn -f '%H' -s -c # display activity of developers by month hg churn -f '%Y-%m' -s -c # display count of lines changed in every year hg churn -f '%Y' -s It is possible to map alternate email addresses to a main address by providing a file using the following format:: <alias email> = <actual email> Such a file may be specified with the --aliases option, otherwise a .hgchurn file will be looked for in the working directory root. ''' def pad(s, l): return (s + " " * l)[:l] amap = {} aliases = opts.get('aliases') if not aliases and os.path.exists(repo.wjoin('.hgchurn')): aliases = repo.wjoin('.hgchurn') if aliases: for l in open(aliases, "r"): try: alias, actual = l.split('=' in l and '=' or None, 1) amap[alias.strip()] = actual.strip() except ValueError: l = l.strip() if l: ui.warn(_("skipping malformed alias: %s\n") % l) continue rate = countrate(ui, repo, amap, *pats, **opts).items() if not rate: return if opts.get('sort'): rate.sort() else: rate.sort(key=lambda x: (-sum(x[1]), x)) # Be careful not to have a zero maxcount (issue833) maxcount = float(max(sum(v) for k, v in rate)) or 1.0 maxname = max(len(k) for k, v in rate) ttywidth = ui.termwidth() ui.debug("assuming %i character terminal\n" % ttywidth) width = ttywidth - maxname - 2 - 2 - 2 if opts.get('diffstat'): width -= 15 def format(name, diffstat): added, removed = diffstat return "%s %15s %s%s\n" % (pad(name, maxname), '+%d/-%d' % (added, removed), ui.label('+' * charnum(added), 'diffstat.inserted'), ui.label('-' * charnum(removed), 'diffstat.deleted')) else: width -= 6 def format(name, count): return "%s %6d %s\n" % (pad(name, maxname), sum(count), '*' * charnum(sum(count))) def charnum(count): return int(round(count * width / maxcount)) for name, count in rate: ui.write(format(name, count)) cmdtable = { "churn": (churn, [('r', 'rev', [], _('count rate for the specified revision or range'), _('REV')), ('d', 'date', '', _('count rate for revisions matching date spec'), _('DATE')), ('t', 'template', '{author|email}', _('template to group changesets'), _('TEMPLATE')), ('f', 'dateformat', '', _('strftime-compatible format for grouping by date'), _('FORMAT')), ('c', 'changesets', False, _('count rate by number of changesets')), ('s', 'sort', False, _('sort by key (default: sort by count)')), ('', 'diffstat', False, _('display added/removed lines separately')), ('', 'aliases', '', _('file with email aliases'), _('FILE')), ] + commands.walkopts, _("hg churn [-d DATE] [-r REV] [--aliases FILE] [FILE]")), } commands.inferrepo += " churn"