sapling/eden/scm
Durham Goode c9c381a744 extras: force commit extras to be type str
Summary:
When we deserialize commit extras they come out as a str->str dict, so
let's make sure clients add values that are also strings. We do this by type
checking a serialization time. This fixes an issue where D19942522 assumed
extras were strings and hit a type error for globalrevs, which were ints.

Apparently the code that reads globalrevs from the extras never treats it as an
int anyway, so none of the reading code needed to be updated to convert the
string back to an int.

Reviewed By: singhsrb

Differential Revision: D20631889

fbshipit-source-id: 8c8b3c9a9f3369376e08146d670f2d6321df141f
2020-03-24 18:30:03 -07:00
..
contrib treestate: make treestate a hard requirement 2020-03-16 18:39:52 -07:00
distutils_rust distutils_rust: retry mt.exe properly 2020-02-19 13:22:39 -08:00
doc Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
edenscm extras: force commit extras to be type str 2020-03-24 18:30:03 -07:00
edenscmnative fsinfo: return an enum instead of a String 2020-03-23 14:29:10 -07:00
exec scratch: silence warnings 2020-03-05 09:35:58 -08:00
i18n py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
lib dag: rename child index iteration to iter_master_flat_segments_with_parent 2020-03-24 13:58:07 -07:00
newdoc newdoc: Add mutation and visibility documentation 2020-03-20 04:09:32 -07:00
pystubs fsinfo: expose fstype via bindings.fs.fstype 2020-03-11 17:35:40 -07:00
slides Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
tests fsmonitor: make race detector aware of the matcher 2020-03-23 14:22:02 -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 Move py/ directory from eden/ to eden/fs 2020-03-24 11:45:37 -07:00
setup.py Move py/ directory from eden/ to eden/fs 2020-03-24 11:45:37 -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.