mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
165071f16c
Summary: There is a little bug here. We produce a stream of futures of futures, then we buffer it, which gives us a stream of futures, and then we await the futures one by one, here: ``` while let Some(next) = stream.next().await { next.await? } ``` This is not really correct, because it means we don't actually do fetches concurrently at all (we just instantiate futures concurrently, but that's not really async work). This fixes that by removing one layer of future-ing. Reviewed By: singhsrb Differential Revision: D25825895 fbshipit-source-id: 3ad3367f1eb802ce5b9b5288f04fd3705e172537 |
||
---|---|---|
.. | ||
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
hgcache_size_logger | ||
i18n | ||
lib | ||
newdoc | ||
pystubs | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
COPYING | ||
gen_version.py | ||
hgeditor | ||
Makefile | ||
README.rst | ||
setup3.py | ||
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.