mirror of
https://github.com/facebook/sapling.git
synced 2025-01-06 04:43:19 +03:00
A Scalable, User-Friendly Source Control System.
6a304509f0
Summary: The pest codegen has some non-determinism (HashMap) that breaks buck build. According to jsgf: This basically indicates some kind of non-determinism in the build. They're a pain, so I'd been hoping that we'd got them all. Yeah, pest is generating non-deterministic output, which will screw things up badly. The problem is: https://github.com/pest-parser/pest/blob/master/generator/src/generator.rs#L92-L93 fn generate_builtin_rules() -> HashMap<&'static str, TokenStream> { let mut builtins = HashMap::new(); is putting builtins into a `HashMap`, then: https://github.com/pest-parser/pest/blob/master/generator/src/generator.rs#L46 rules.extend(defaults.into_iter().map(|name| builtins[name].clone())); emitting them in hashmap order. It needs to use a `BTreeMap` to make sure they're in a consistent order. (I didn't check whether there are other instances of this.) Reviewed By: jsgf Differential Revision: D17063573 fbshipit-source-id: c03adc3c6d50bd09ffbd44ca8dc7bc51d6cad28d |
||
---|---|---|
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
i18n | ||
lib | ||
newdoc | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.hgsigs | ||
.jshintrc | ||
CONTRIBUTING | ||
CONTRIBUTORS | ||
COPYING | ||
gen_version.py | ||
hgeditor | ||
hgweb.cgi | ||
Makefile | ||
README.rst | ||
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.