sapling/eden/scm
Jun Wu a2694e29d0 config: drop pest for parsing hgrc
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
2022-12-15 20:04:29 -08:00
..
contrib chg: use new server if the client has higher RLIMIT_NOFILE 2022-11-21 15:17:34 -08:00
distutils_rust distutils_rust: drop HOMEBREW_CCCFG env 2022-12-01 12:30:00 -08:00
doc collapse edenscm.mercurial package into edenscm 2022-08-24 13:45:53 -07:00
edenscm config: clean up based on debugduplicatedconfig output 2022-12-15 18:24:16 -08:00
edenscmnative pyconfigloader: drop validate 2022-12-15 18:24:16 -08:00
exec config: rename parser to loader 2022-12-14 14:53:51 -08:00
ghstack honor signed commits in ghstack 2022-12-12 14:26:34 -08:00
hgcache_size_logger Build for aarch64 in addition to x86_64 2022-08-03 07:09:58 -07:00
i18n docs: clarify help for "-I" and "-X" flags 2022-11-13 23:38:55 -08:00
lib config: drop pest for parsing hgrc 2022-12-15 20:04:29 -08:00
newdoc newdoc: remove outdated content 2022-12-01 14:33:34 -08:00
packaging autoformat 2022-12-12 13:23:26 -08:00
pystubs collapse edenscm.mercurial package into edenscm 2022-08-24 13:45:53 -07:00
slides collapse edenscm.mercurial package into edenscm 2022-08-24 13:45:53 -07:00
tests config: drop pest for parsing hgrc 2022-12-15 20:04:29 -08:00
.editorconfig Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
.flake8 smartlog: use gcaone instead gcaall 2022-10-10 10:10:02 -07:00
.gitignore build: fix binary name produced on make oss (#60) 2022-11-04 16:41:43 -07:00
.rustfmt.toml rustfmt: set group_imports to StdExternalCrate 2021-10-19 11:07:24 -07:00
Cargo.toml config: rename parser to loader 2022-12-14 14:53:51 -08:00
COPYING Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
fsprobe.sh codemod: update license headers 2022-01-05 14:43:32 -08:00
gen_version.py Add annotations to eden 2022-02-14 12:17:43 -08:00
hgeditor Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
Makefile setup: merge setup*.py back to setup.py 2022-12-01 12:30:00 -08:00
README.md migrate README.rst to README.md 2022-07-20 09:19:09 -07:00
setup.py disambiguate "version" (#298) 2022-12-05 17:15:47 -08:00

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.