Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
hgext /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
convert
[ DIR ]
drwxr-xr-x
fastannotate
[ DIR ]
drwxr-xr-x
fsmonitor
[ DIR ]
drwxr-xr-x
highlight
[ DIR ]
drwxr-xr-x
hooklib
[ DIR ]
drwxr-xr-x
infinitepush
[ DIR ]
drwxr-xr-x
largefiles
[ DIR ]
drwxr-xr-x
lfs
[ DIR ]
drwxr-xr-x
narrow
[ DIR ]
drwxr-xr-x
remotefilelog
[ DIR ]
drwxr-xr-x
zeroconf
[ DIR ]
drwxr-xr-x
__init__.py
106
B
-rw-r--r--
absorb.py
40.96
KB
-rw-r--r--
acl.py
14.16
KB
-rw-r--r--
amend.py
2.2
KB
-rw-r--r--
automv.py
3.64
KB
-rw-r--r--
beautifygraph.py
3.12
KB
-rw-r--r--
blackbox.py
6.75
KB
-rw-r--r--
bookflow.py
3.72
KB
-rw-r--r--
bugzilla.py
41.63
KB
-rw-r--r--
censor.py
3.92
KB
-rw-r--r--
children.py
2.34
KB
-rw-r--r--
churn.py
7.63
KB
-rw-r--r--
clonebundles.py
10.51
KB
-rw-r--r--
closehead.py
2.69
KB
-rw-r--r--
commitextras.py
2.39
KB
-rw-r--r--
eol.py
16.2
KB
-rw-r--r--
extdiff.py
24.88
KB
-rw-r--r--
factotum.py
4.87
KB
-rw-r--r--
fastexport.py
6.86
KB
-rw-r--r--
fetch.py
6.41
KB
-rw-r--r--
fix.py
36.29
KB
-rw-r--r--
githelp.py
32.43
KB
-rw-r--r--
gpg.py
11
KB
-rw-r--r--
graphlog.py
3.32
KB
-rw-r--r--
hgk.py
11.9
KB
-rw-r--r--
histedit.py
86
KB
-rw-r--r--
journal.py
20
KB
-rw-r--r--
keyword.py
29.87
KB
-rw-r--r--
logtoprocess.py
2.84
KB
-rw-r--r--
mq.py
143.52
KB
-rw-r--r--
notify.py
20.11
KB
-rw-r--r--
pager.py
2.58
KB
-rw-r--r--
patchbomb.py
31.11
KB
-rw-r--r--
phabricator.py
80.65
KB
-rw-r--r--
purge.py
1.71
KB
-rw-r--r--
rebase.py
82.13
KB
-rw-r--r--
record.py
5.07
KB
-rw-r--r--
releasenotes.py
21.88
KB
-rw-r--r--
relink.py
6.66
KB
-rw-r--r--
remotenames.py
13.78
KB
-rw-r--r--
schemes.py
4.34
KB
-rw-r--r--
share.py
7.85
KB
-rw-r--r--
show.py
15.95
KB
-rw-r--r--
sparse.py
14.43
KB
-rw-r--r--
split.py
6.77
KB
-rw-r--r--
sqlitestore.py
38.68
KB
-rw-r--r--
strip.py
953
B
-rw-r--r--
transplant.py
30.08
KB
-rw-r--r--
uncommit.py
10.13
KB
-rw-r--r--
win32mbcs.py
6.97
KB
-rw-r--r--
win32text.py
7.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : automv.py
# automv.py # # Copyright 2013-2016 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. """check for unrecorded moves at commit time (EXPERIMENTAL) This extension checks at commit/amend time if any of the committed files comes from an unrecorded mv. The threshold at which a file is considered a move can be set with the ``automv.similarity`` config option. This option takes a percentage between 0 (disabled) and 100 (files must be identical), the default is 95. """ # Using 95 as a default similarity is based on an analysis of the mercurial # repositories of the cpython, mozilla-central & mercurial repositories, as # well as 2 very large facebook repositories. At 95 50% of all potential # missed moves would be caught, as well as correspond with 87% of all # explicitly marked moves. Together, 80% of moved files are 95% similar or # more. # # See http://markmail.org/thread/5pxnljesvufvom57 for context. from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( commands, copies, error, extensions, pycompat, registrar, scmutil, similar, ) configtable = {} configitem = registrar.configitem(configtable) configitem( b'automv', b'similarity', default=95, ) def extsetup(ui): entry = extensions.wrapcommand(commands.table, b'commit', mvcheck) entry[1].append( (b'', b'no-automv', None, _(b'disable automatic file move detection')) ) def mvcheck(orig, ui, repo, *pats, **opts): """Hook to check for moves at commit time""" opts = pycompat.byteskwargs(opts) renames = None disabled = opts.pop(b'no_automv', False) if not disabled: threshold = ui.configint(b'automv', b'similarity') if not 0 <= threshold <= 100: raise error.Abort(_(b'automv.similarity must be between 0 and 100')) if threshold > 0: match = scmutil.match(repo[None], pats, opts) added, removed = _interestingfiles(repo, match) uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True) renames = _findrenames( repo, uipathfn, added, removed, threshold / 100.0 ) with repo.wlock(): if renames is not None: scmutil._markchanges(repo, (), (), renames) return orig(ui, repo, *pats, **pycompat.strkwargs(opts)) def _interestingfiles(repo, matcher): """Find what files were added or removed in this commit. Returns a tuple of two lists: (added, removed). Only files not *already* marked as moved are included in the added list. """ stat = repo.status(match=matcher) added = stat.added removed = stat.removed copy = copies.pathcopies(repo[b'.'], repo[None], matcher) # remove the copy files for which we already have copy info added = [f for f in added if f not in copy] return added, removed def _findrenames(repo, uipathfn, added, removed, similarity): """Find what files in added are really moved files. Any file named in removed that is at least similarity% similar to a file in added is seen as a rename. """ renames = {} if similarity > 0: for src, dst, score in similar.findrenames( repo, added, removed, similarity ): if repo.ui.verbose: repo.ui.status( _(b'detected move of %s as %s (%d%% similar)\n') % (uipathfn(src), uipathfn(dst), score * 100) ) renames[dst] = src if renames: repo.ui.status(_(b'detected move of %d files\n') % len(renames)) return renames
Close