mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
3eb2eb2257
Summary: If the repo changelog was migrated to lazy, existing processes including the import helpers might start failing to resolve commits. Detect that, and request a restart of the import helper. An example traceback: edenscm.mercurial.error.RepoLookupError: unknown revision 'ce48ccc4197b2066a8c7f2a930cee89e8aea6379' 2021-06-29 12:33:12,738 error processing command 4 Traceback (most recent call last): File "edenscm/mercurial/commands/eden.py", line 363, in process_request cmd_function(req) File "edenscm/mercurial/commands/eden.py", line 604, in cmd_manifest_node_for_commit node = self.get_manifest_node(rev_name) File "edenscm/mercurial/commands/eden.py", line 821, in get_manifest_node return self._get_manifest_node_impl(rev) File "edenscm/mercurial/commands/eden.py", line 790, in _get_manifest_node_impl node_hash = ctx.manifestnode() File "edenscm/mercurial/context.py", line 569, in manifestnode return self._changeset.manifest File "edenscm/mercurial/util.py", line 987, in __get__ result = self.func(obj) File "edenscm/mercurial/context.py", line 540, in _changeset return self._repo.changelog.changelogrevision(self._node) File "edenscm/mercurial/changelog2.py", line 374, in changelogrevision return changelogrevision(self.revision(nodeorrev)) File "edenscm/mercurial/changelog2.py", line 463, in revision p1, p2 = self.parents(node)[:2] File "edenscm/mercurial/changelog2.py", line 610, in parents parents = list(self.dag.parentnames(node)) error.CommitLookupError: '<int> cannot be found' Reviewed By: andll Differential Revision: D29470181 fbshipit-source-id: 40ad6eebe1f656c63d3f96b2b70ad60b350eed21 |
||
---|---|---|
.. | ||
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
hgcache_size_logger | ||
i18n | ||
lib | ||
newdoc | ||
pystubs | ||
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.