mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
a2694e29d0
Summary: The hgrc format is quite simple. Writing a parser directly actually has similar complexity to the pest parser, but with improved performance. Therefore let's migrate off pest. Before: % buck2 run @//mode/opt :bench -- parse 645KB file 89.872 ms load system and user 1.877 ms load repo 4.107 ms After: % buck2 run @//mode/opt :bench -- parse 645KB file 31.501 ms load system and user 0.757 ms load repo 2.360 ms Reviewed By: zzl0 Differential Revision: D42054371 fbshipit-source-id: 7dc84154cabec52ed7910e12fbac894845770076 |
||
---|---|---|
.. | ||
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
ghstack | ||
hgcache_size_logger | ||
i18n | ||
lib | ||
newdoc | ||
packaging | ||
pystubs | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.rustfmt.toml | ||
Cargo.toml | ||
COPYING | ||
fsprobe.sh | ||
gen_version.py | ||
hgeditor | ||
Makefile | ||
README.md | ||
setup.py |
Mercurial
Mercurial is a fast, easy to use, distributed revision control tool for software developers.
Basic install:
$ make # see install targets
$ make install # do a system-wide install
$ hg debuginstall # sanity-check setup
$ hg # see help
Running without installing:
$ make local # build for inplace usage
$ ./hg --version # should show the latest version
See https://mercurial-scm.org/ for detailed installation instructions, platform-specific notes, and Mercurial user information.