A Scalable, User-Friendly Source Control System.
Go to file
Xavier Deguillard d0801a56d3 test-fb-hgext-treemanifest-server.t: silence spurious errors
Summary:
The test frequently fails with spurious remote errors such as:

  remote: ** Unknown exception encountered with possibly-broken third-party extension treemanifest.
  remote: ** Please disable treemanifest and try your action again.
  remote: ** If that fixes the bug please report it to the extension author.
  remote: ** Python 2.7.11 (default, Feb  5 2019, 17:19:11) [GCC 5.x 20180625 (Facebook) 5.5.0+]
  remote: ** Mercurial Distributed SCM (version 4.4.2_dev)
  remote: ** Extensions loaded: remotefilelog, rebase, simplecache, treemanifest, conflictinfo, debugshell, errorredirect, githelp, mergedriver, progressfile, pushrebase
  remote: Traceback (most recent call last):
  remote:   File "<string>", line 44, in <module>
  remote:   File "<string>", line 42, in __run
  remote:   File "/usr/local/fbcode/gcc-5-glibc-2.23/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  remote:     "__main__", fname, loader, pkg_name)
  remote:   File "/usr/local/fbcode/gcc-5-glibc-2.23/lib/python2.7/runpy.py", line 72, in _run_code
  remote:     exec code in run_globals
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/hg.py", line 42, in <module>
  remote:     entrypoint.run(False)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/entrypoint.py", line 80, in run
  remote:     dispatch.run()
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 99, in run
  remote:     status = (dispatch(req) or 0) & 255
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 393, in dispatch
  remote:     ret = _runcatch(req)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 575, in _runcatch
  remote:     return _callcatch(ui, _runcatchfunc)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 584, in _callcatch
  remote:     return scmutil.callcatch(ui, func)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/scmutil.py", line 135, in callcatch
  remote:     return func()
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 565, in _runcatchfunc
  remote:     return _dispatch(req)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 1353, in _dispatch
  remote:     lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 1053, in runcommand
  remote:     ret = _runcommand(ui, options, cmd, d)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 1365, in _runcommand
  remote:     return cmdfunc()
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/dispatch.py", line 1350, in <lambda>
  remote:     d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/util.py", line 1337, in check
  remote:     return func(*args, **kwargs)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/commands/__init__.py", line 5635, in serve
  remote:     s.serve_forever()
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/sshserver.py", line 107, in serve_forever
  remote:     while self.serve_one():
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/sshserver.py", line 139, in serve_one
  remote:     self.handlers[rsp.__class__](self, rsp)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/sshserver.py", line 88, in sendstream
  remote:     for chunk in gen:
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/bundle2.py", line 710, in getchunks
  remote:     self._getcorechunk(), self._compopts
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/bundle2.py", line 732, in _getcorechunk
  remote:     for chunk in part.getchunks(ui=self.ui):
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/bundle2.py", line 1165, in getchunks
  remote:     pycompat.raisewithtb(exc, tb)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/bundle2.py", line 1141, in getchunks
  remote:     for chunk in self._payloadchunks():
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/bundle2.py", line 1181, in _payloadchunks
  remote:     chunk = buff.read(preferedchunksize)
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/util.py", line 2062, in read
  remote:     for chunk in self.iter:
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/mercurial/util.py", line 2033, in splitbig
  remote:     for chunk in chunks:
  remote:   File "/data/users/xavierd/fbsource/fbcode/buck-out/dev/gen/scm/hg/hg#link-tree/edenscm/hgext/treemanifest/__init__.py", line 2255, in _generatepackstream
  remote:     for subname, subnode, subtext, x, x, x in subtrees:
  remote: RuntimeError: std::exception

They don't seem to affect what the test expect (missing node on the server), so
let's disable these

Reviewed By: DurhamG

Differential Revision: D14446457

fbshipit-source-id: 0ecb114bfcdeef1a3fcfef5a927f725401f90d4e
2019-03-14 16:01:22 -07:00
contrib chg: remove the ability to produce an actual binary 2019-03-14 06:35:45 -07:00
distutils_rust chg: learn to build a static lib 2018-11-05 10:08:29 -08:00
doc gendoc: import extensions properly 2019-01-30 14:57:42 -08:00
edenscm archive: prefetch remotefilelog files before executing archive 2019-03-14 14:57:50 -07:00
exec hg: rename scratch to mkscratch and include in the hg build 2019-02-14 17:28:14 -08:00
i18n codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
lib revisionstore: ignore transient errors during repack 2019-03-11 18:15:45 -07:00
newdoc newdoc: revise WritingExtensions 2019-03-14 11:51:39 -07:00
slides slides: add indexedlog slide 2018-08-13 15:06:58 -07:00
tests test-fb-hgext-treemanifest-server.t: silence spurious errors 2019-03-14 16:01:22 -07:00
.editorconfig move scm/hg/.clang-format to scm/hg/mercurial/ 2018-05-25 14:35:51 -07:00
.flake8 codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
.gitignore ignore: stop using "{}" patterns 2019-02-06 13:02:59 -08:00
.hgsigs Added signature for changeset f51ae48a3fd9 2017-12-01 13:49:47 -06:00
.jshintrc hgweb: add .jshintrc with some basic rules 2017-11-22 22:18:06 +08:00
CONTRIBUTING contributing: add new file with a pointer to the wiki 2016-10-08 10:39:00 -04:00
CONTRIBUTORS Add note to CONTRIBUTORS file 2007-11-07 21:10:30 -06:00
COPYING COPYING: refresh with current address from fsf.org 2011-06-02 11:17:02 -05:00
gen_version.py generate __version__.py during the buck build 2018-06-25 15:52:25 -07:00
hg codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
hgeditor spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
hgweb.cgi codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
Makefile chg: remove the ability to produce an actual binary 2019-03-14 06:35:45 -07:00
README.rst doc: rename README to README.rst 2017-09-26 08:37:17 +02:00
setup.py chg: remove the ability to produce an actual binary 2019-03-14 06:35:45 -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.