sapling/edenscm/hgext/commitcloud
Mark Thomas 511b52863e visibility: support cloud sync
Summary:
Add support for explicit visibility tracking in commit cloud sync.

This means commit cloud reads the visibleheads and syncs these with the commit
cloud heads directly, removing the source of problems where obsmarkers disagree
on different hosts.

Commit cloud requires that the ordering of heads is maintained to get stable
ordering of new commits.  Update the visibleheads tracking to maintain
ordering, rather than using sets.

Finally, the calculation of the replacement node was slightly off.  This was
revealed in the new test case that is being added, so it is also fixed.

Differential Revision: D14876266

fbshipit-source-id: fe5b6bffd196d3bd74e7582e29484969495eac8e
2019-04-11 07:49:20 -07:00
..
__init__.py commitcloud: deprecate filtration of the push side 2019-03-21 10:27:13 -07:00
baseservice.py commit cloud code clean up 2019-03-14 10:41:48 -07:00
commitcloudcommands.py visibility: support cloud sync 2019-04-11 07:49:20 -07:00
commitcloudcommon.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
commitcloudutil.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
httpsservice.py commit cloud code clean up 2019-03-14 10:41:48 -07:00
localservice.py commit cloud code clean up 2019-03-14 10:41:48 -07:00
service.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
state.py add logic for safe switching cloud sync between Mercurial and Mononoke and back 2019-03-21 09:02:23 -07:00
workspace.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00