D12389: rhg: sort unsupported extensions in error message

2022-03-19 Thread Raphaël Gomès
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This caused some flakiness in test output, and is also just better for users.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12389

AFFECTED FILES
  rust/rhg/src/main.rs

CHANGE DETAILS

diff --git a/rust/rhg/src/main.rs b/rust/rhg/src/main.rs
--- a/rust/rhg/src/main.rs
+++ b/rust/rhg/src/main.rs
@@ -674,6 +674,9 @@
 if unsupported.is_empty() {
 Ok(())
 } else {
+let mut unsupported: Vec<_> = unsupported.into_iter().collect();
+// Sort the extensions to get a stable output
+unsupported.sort();
 Err(CommandError::UnsupportedFeature {
 message: format_bytes!(
 b"extensions: {} (consider adding them to 
'rhg.ignored-extensions' config)",



To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D12388: ci: use the `v1.0` flavor of the docker images in the CI

2022-03-19 Thread marmoute (Pierre-Yves David)
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This new versioning will help use to maintain backward compatibility in the
  docker image. This will be useful to deal with mismatch between default/stable
  in version and the re-run CI on older changesets in the future.
  
  Once this changeset land on stable, we will have to merge it in default. Then
  we can start make backward incompatible changes in a new image version.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D12388

AFFECTED FILES
  contrib/heptapod-ci.yml

CHANGE DETAILS

diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml
+++ b/contrib/heptapod-ci.yml
@@ -7,7 +7,7 @@
 variables:
 PYTHON: python
 TEST_HGMODULEPOLICY: "allow"
-HG_CI_IMAGE_TAG: "latest"
+HG_CI_IMAGE_TAG: "v1.0"
 TEST_HGTESTS_ALLOW_NETIO: "0"
 
 .all_template: 



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel