sapling/eden/hg-server
David Barsky 08d433fd9d cleanup: fix broken tests in eden/scm and eden/hg-server
Summary:
This diff fixes the tests in that broke in D34801437 (85b8783db2), as tracing changed how `tracing_core::Metadata` is represented. This change in representation changed how `fmt::Debug` renders `tracing_core::Metadata` , thereby breaking the unit tests in `//eden/scm/lib/tracing-runtime-callsite` and `//eden/hg-server/lib/tracing-runtime-callsite`. Note that while we don't consider the output of `fmt::Debug` to be stable, there isn't a good mocking/unit test library for recording tracing spans/event that I'm aware of (outside of tracing's internal test framework, which we haven't gotten around to releasing—once we do, I'll happily send a diff with the updates).

Since D34801437 (85b8783db2) is 85,000 lines, I thought it'd be easier to review the fixes to broken builds in a smaller diff, such as this one.

Reviewed By: quark-zju

Differential Revision: D34941763

fbshipit-source-id: fe050d5898f5ed67d024837478d64b897e0d589e
2022-03-17 09:01:47 -07:00
..
contrib server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
distutils_rust server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
doc server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
edenscm Convert type comments in hg-server/edenscm/hgext 2022-02-09 14:29:43 -08:00
edenscmnative Back out "Bump parking-lot to version 0.12.0" 2022-02-08 11:37:32 -08:00
exec third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
hgcache_size_logger server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
i18n server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
lib cleanup: fix broken tests in eden/scm and eden/hg-server 2022-03-17 09:01:47 -07:00
newdoc server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
pystubs server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
slides server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
tests Convert type comments for eden 2022-02-10 08:48:35 -08:00
.editorconfig server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
.flake8 server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
.gitignore server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
COPYING server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
gen_version.py server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
hgeditor server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
Makefile server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
README.rst server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
setup3.py lib: remove unused C code 2021-04-29 14:45:12 -07:00
setup.py lib: remove unused C code 2021-04-29 14:45:12 -07: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.