Summary:
implement `hg cloud move` command
the feature has been requested by several users
it provides a convenient way to move commits and bookmarks between commit cloud workspaces
Reviewed By: markbt
Differential Revision: D40227931
fbshipit-source-id: fb542fabab091704e7ca23fb2ea8525508de9265
Summary:
execute cloud sync in foreground after `hg cloud hide` if it runs
for the current workspace. If it runs in background, this may be a bit
confusing not to see actual hiding if the command was executed for some commits
that are present locally. Also, the background sync maybe disabled, in this
case the effect from the hiding will not be seen.
If hiding was executed for another workspace rather than for the current one, the background cloud sync call is not needed. Let's disable it.
Reviewed By: markbt
Differential Revision: D40223525
fbshipit-source-id: aeedc1cb85ba8236f4649b67520ff119f89e06d5
Summary: Update some tests so we can enable segmented changelog widely.
Reviewed By: LynBusch
Differential Revision: D38913573
fbshipit-source-id: 1d1232adaae6a1869de90918346d18b97751b77a
Summary:
A lot of tests are passing with the new test runner.
This is done by `./edit-feature-header.py debugruntest` and paste
the `Passed:` section from `hg debugruntest -v test-*.t` output.
Note: some tests fail with this but pass with debugruntest. They
will be investigated as follow-up.
Differential Revision: D34931992
fbshipit-source-id: 99abc3d9800bb1dd3487dbfa15d715c0bd3ba878
Summary:
We want to remove filepeer as part of removing server logic in the
client. To start with, let's disable it by default and only enable it in tests
that need it. The next step will be to update those tests.
Reviewed By: quark-zju
Differential Revision: D30977765
fbshipit-source-id: c56016f017e894a15bf43fb7a8d3a0a417663ad9
Summary:
If heads exist in the repo, there is no need to pull them.
Practically we configured selectivepull to include master and stable.
While the master head is excluded by the pull fast path, the stable bookmark
previously triggers the heavyweight pull. This diff makes it that we can
skip the heavyweight pull and avoid other issues like devel-warn importing
empty changegroup.
Reviewed By: DurhamG
Differential Revision: D29525476
fbshipit-source-id: 9d1ff28d1194cac22ae66e669a5bd9dbe3f750c4
Summary: Most of them need extra server-side bookmarks for deciding phases.
Reviewed By: DurhamG
Differential Revision: D22117739
fbshipit-source-id: 711bf96063913fd6148125a5628f0b0f4efbf489
Summary:
The return order of `index2.headsancestors` and `index.headrevs` are different.
Fix it. This affects the default commit to update to after `hg clone` in some
tests.
Reviewed By: sfilipco
Differential Revision: D22200496
fbshipit-source-id: 273201461c814241ce8dafa6f7ca00f72ea83eab
Summary:
Add the `hg cloud hide` command. This allows removal of commits, bookmarks and
remote bookmarks from a cloud workspace, even when the items are omitted
locally.
Reviewed By: DurhamG, quark-zju
Differential Revision: D21409384
fbshipit-source-id: 24b64c207c78f9b0258e9cf6a578db7b14c84901