mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
cb3b437fe5
Summary: Currently, phrevset picks the "successor" that has the maximum revision number. That depends on the assumption that larger revision numbers are modified last. Howevver, that's not always true with commit cloud sync. For example, in my repo I have D21179514 modified from 63768bf43 to 684612d5d. Phabricator has 63768bf43. Local successor is 684612d5d, but the revision number of 684612d5d is smaller than 63768bf43: quark@devvm1939 ~/hg/edenscm/hgext % hg log -r 'D21179514' changeset: 63768bf436d01982a8d42ce97160ac6d9ae2cdad D21179514 user: Jun Wu <quark@fb.com> date: Wed, 22 Apr 2020 09:45:50 -0700 summary: [hg] commitcloud: log metalog root during update references quark@devvm1939 ~/hg/edenscm/hgext % lhg log -r 'D21179514' changeset: 684612d5d606b01c224889f2b3f87aff7b93db49 D21179514 (@) user: Jun Wu <quark@fb.com> date: Wed, 22 Apr 2020 10:10:37 -0700 summary: [hg] commitcloud: log metalog root during update references quark@devvm1939 ~/hg/edenscm/hgext % lhg log -r 'successors(63768bf436d0198 2a8d42ce97160ac6d9ae2cdad)' -T '{node} {rev}\n' 684612d5d606b01c224889f2b3f87aff7b93db49 76718 63768bf436d01982a8d42ce97160ac6d9ae2cdad 95363 Improve it by actually prefer selecting a non-obsoleted successor. Reviewed By: sfilipco Differential Revision: D21267552 fbshipit-source-id: d43d72a7c273c55af70bb41ad967fff0c78a452a |
||
---|---|---|
.. | ||
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
i18n | ||
lib | ||
newdoc | ||
pystubs | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
COPYING | ||
gen_version.py | ||
hgeditor | ||
Makefile | ||
README.rst | ||
setup3.py | ||
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.