mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
c624847c84
Summary: The Python `datatime` stdlib has limitations: - `datetime.datetime` can only express year 1 to 9999. - `strptime` requires year >= 1900. Limit the `HgTime` to 1900 ..= 9999 range to be consistent. Note: Mercurial has an `i32` range limit, which seems to problematic since `i32::MAX` is Jan 19, 2038. So I kept using `i64`. This addressed some XXX comments about not returning errors. The code change is mostly because added error handling. Reviewed By: sfilipco Differential Revision: D18946333 fbshipit-source-id: 0e4756457b0f13451dc5008ef19d4670a7aaa7fb |
||
---|---|---|
.. | ||
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
i18n | ||
lib | ||
newdoc | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
COPYING | ||
gen_version.py | ||
hgeditor | ||
Makefile | ||
README.rst | ||
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.