sapling/eden/scm
Yan Soares Couto afc63aa2b0 Get proper repo locks on operations
Summary:
I want to use correct locks and transactions for snapshot.

For context of what the commands do:
- `hg snapshot createremote`: Read your local changes, upload uncommitted files to mononoke and create a snapshot server-side using them. I added `repo.lock/transaction`.
- `hg snapshot restore`: Updates to parent of given snapshot, downloads file contents and updates them. I added `repo.wlock/lock/transaction`.
- `hg snapshot info`: Reads server info about snapshot, doesn't affect local repo. I didn't add any locks.

Reviewed By: DurhamG

Differential Revision: D31607794

fbshipit-source-id: 65020ff090853ca363f770caa7da0ac0823dcd2f
2021-10-14 11:15:53 -07:00
..
contrib hggit: delete hggit 2021-09-21 13:45:11 -07:00
distutils_rust Use provided env var for CARGO_TARGET_DIR if present 2021-07-22 06:10:56 -07:00
doc hggit: delete hggit 2021-09-21 13:45:11 -07:00
edenscm Get proper repo locks on operations 2021-10-14 11:15:53 -07:00
edenscmnative pytracing: remove leftover file 2021-10-13 15:25:02 -07:00
exec tweak error message on Windows when repo is not mounted to avoid confusing people 2021-09-29 15:40:02 -07:00
hgcache_size_logger add hgcache size logger 2020-08-26 04:24:50 -07:00
i18n update draft help page 2021-08-02 15:54:03 -07:00
lib runlog: add basic runlog CLI command 2021-10-14 09:46:24 -07:00
newdoc notes: add 2019-10 Manifests, Past and Future 2021-03-04 08:52:27 -08:00
pystubs lock: kill inheritable lock code 2021-09-27 14:58:42 -07:00
slides apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
tests runlog: add basic runlog CLI command 2021-10-14 09:46:24 -07:00
.editorconfig Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
.flake8 debugrebuildchangelog: support rebuild with lazy segmented changelog 2021-05-26 19:00:01 -07:00
.gitignore gitignore: track Makefile under scm 2021-03-04 08:52:27 -08:00
COPYING Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
fsprobe.sh fsprobe: add simple shell script to generate and run fsprobe tests 2021-09-14 19:52:15 -07:00
gen_version.py version: a Rust crate providing version information 2020-05-18 09:00:40 -07:00
hgeditor Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
Makefile py3: remove py3 options and py2 rpm spec 2021-06-15 14:46:42 -07:00
README.rst Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
setup.py fix make local build 2021-09-24 10:23:28 -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.