mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
A Scalable, User-Friendly Source Control System.
f337e0d5e4
Summary: `ui.log` expects to be called with valid format arguments. If the arguments are not a valid format string, or the number of arguments doesn't match the number of format placeholders, formatting will fail. In this case, catch the exception and fail gracefully. Don't even bother formatting if there is exactly one argument. The `blackbox` extension already does this, so extend to the `sampling` extension. Also fix the place where `perftrace` calls `ui.log` with a string that might contain formatting placeholders. Reviewed By: quark-zju Differential Revision: D14938952 fbshipit-source-id: 1d9802308dba925109c018124d51273c348526b4 |
||
---|---|---|
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
exec | ||
i18n | ||
lib | ||
newdoc | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.hgsigs | ||
.jshintrc | ||
CONTRIBUTING | ||
CONTRIBUTORS | ||
COPYING | ||
gen_version.py | ||
hg | ||
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.