sapling/eden/scm
Thomas Orozco 6676a7a476 logginghelper: use repo basename as repo name
Summary:
When we don't provide a repo name, scm_telem_log will run `hg config` to try
and get the path, and fall back to using the basename of the repo directory.

However, this is a bit undesirable, because if we ran this code we already
checked the path, so the repo URL isn't going to magically materialize once `hg
config` asks for it, which means we make a completely redundant call to hg from
scm_telem_log.

By just doing this in logginghelper, we avoid this extra roundtrip.

Reviewed By: StanislavGlebik

Differential Revision: D21572027

fbshipit-source-id: 58e5ab2e3e525edef1ecde039cd968eab8d89172
2020-05-15 03:02:00 -07:00
..
contrib infinitepush: remove legacy auto pull logic 2020-05-14 12:47:35 -07:00
distutils_rust distutils_rust: retry mt.exe properly 2020-02-19 13:22:39 -08:00
doc py3: fix test-help.t 2020-04-09 18:25:54 -07:00
edenscm logginghelper: use repo basename as repo name 2020-05-15 03:02:00 -07:00
edenscmnative pyrenderdag: support non-revision-numbers graph vertexes 2020-05-14 12:03:44 -07:00
exec configs: move fbrules to a Facebook only part of the crate 2020-05-01 13:17:21 -07:00
i18n check-code: convert to Python 3 2020-05-07 09:07:50 -07:00
lib dag: implement beautify 2020-05-14 12:03:43 -07:00
newdoc newdoc: Add mutation and visibility documentation 2020-03-20 04:09:32 -07:00
pystubs changelog: expose rawheadrevs() API 2020-05-12 10:23:23 -07:00
slides Eliminate obsolete since-last-arc-diff flag 2020-04-14 09:09:12 -07:00
tests logginghelper: use repo basename as repo name 2020-05-15 03:02:00 -07:00
.editorconfig Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
.flake8 Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
.gitignore py3: fix some type issues detected by pyre with some type stubs 2020-01-31 16:38:02 -08:00
COPYING Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
gen_version.py gen_version.py: run it with python3 2020-03-13 20:08:34 -07:00
hgeditor Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
Makefile build: have make local run on Centos8 2020-03-16 12:54:01 -07:00
README.rst Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
setup3.py pyre2: use Rust regex backend 2020-05-12 16:32:51 -07:00
setup.py pyre2: use Rust regex backend 2020-05-12 16:32:51 -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.