mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
A Scalable, User-Friendly Source Control System.
87a6499b5f
Summary: Add a function that returns command and all the default options already initialized. It should be used by commands that call other commands. For example, calling pull inside of update, calling log inside of show etc. getcmdanddefaultopts has important benefits: 1) It returns "wrapped" command i.e. command with all the overrides applied. On the other hand, commands.pull doesn't return it. 2) It correctly initializes options to their default value and correctly changes their name - replace '-' with '_'. Reviewed By: ryanmce Differential Revision: D7193296 fbshipit-source-id: e8673bd4e16aad6156498660f2a7ed788ed2cac3 |
||
---|---|---|
.cargo | ||
contrib | ||
distutils_rust | ||
doc | ||
hgdemandimport | ||
hgext | ||
hgext3rd | ||
hgsubversion | ||
i18n | ||
lib | ||
lz4revlog | ||
mercurial | ||
tests | ||
.clang-format | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.hg-vendored-crates | ||
.hgsigs | ||
.jshintrc | ||
.watchmanconfig | ||
CONTRIBUTING | ||
CONTRIBUTORS | ||
COPYING | ||
hg | ||
hgeditor | ||
hgweb.cgi | ||
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.