mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
A Scalable, User-Friendly Source Control System.
5682d5e0db
Summary: The clang-format file in scm/hg basically only applies to things in the scm/hg/mercurial directory. There are 180 C and C++ files under scm/hg, and the vast majority of them do not follow the style specified in this clang-format file. All but 11 of these files were present in scm/hg/contrib/clang-format-blacklist. Of the 11 files that do follow this style, 10 are in the scm/hg/mercurial/ directory. (10 of the 21 files in this directory use this style.) The 1 other file is in scm/hg/contrib/xdiff. The majority of the C/C++ files in scm/hg/hgext/extlib and scm/hg/lib/ follow a style closer to Facebook and Google's C++ style guidelines. Therefore this moves the .clang-format file to scm/hg/mercurial, and lets the main fbsource clang-format file apply to the other files under scm/hg Reviewed By: quark-zju Differential Revision: D8131512 fbshipit-source-id: 622a33abc39eb240eff4ca27f69a675a7ed54a89 |
||
---|---|---|
.cargo | ||
contrib | ||
distutils_rust | ||
doc | ||
exec/scm_daemon | ||
hgdemandimport | ||
hgext | ||
hgext3rd | ||
hgsubversion | ||
i18n | ||
lib | ||
lz4revlog | ||
mercurial | ||
tests | ||
.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.