From 4e96168a96d6521af27caa5f16cbc0118295dd7f Mon Sep 17 00:00:00 2001 From: Eduard Heimbuch Date: Fri, 11 Mar 2022 09:15:49 +0100 Subject: [PATCH] Fix Read Support for HG Evolve Extension --- gradle/changelog/evolve_forbidden.yaml | 2 ++ .../src/main/java/sonia/scm/web/WireProtocol.java | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 gradle/changelog/evolve_forbidden.yaml diff --git a/gradle/changelog/evolve_forbidden.yaml b/gradle/changelog/evolve_forbidden.yaml new file mode 100644 index 0000000000..7f94f466e2 --- /dev/null +++ b/gradle/changelog/evolve_forbidden.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: HG Read Support for Evolve Extenxion diff --git a/scm-plugins/scm-hg-plugin/src/main/java/sonia/scm/web/WireProtocol.java b/scm-plugins/scm-hg-plugin/src/main/java/sonia/scm/web/WireProtocol.java index 4001552470..facd8cc8e7 100644 --- a/scm-plugins/scm-hg-plugin/src/main/java/sonia/scm/web/WireProtocol.java +++ b/scm-plugins/scm-hg-plugin/src/main/java/sonia/scm/web/WireProtocol.java @@ -51,7 +51,9 @@ public final class WireProtocol { "batch", "between", "branchmap", "branches", "capabilities", "changegroup", "changegroupsubset", "clonebundles", "getbundle", "heads", "hello", "listkeys", "lookup", "known", "stream_out", // could not find lheads in the wireprotocol description but mercurial 4.5.2 uses it for clone - "lheads" + "lheads", + // For HG Evolve Extension + "evoext_obshashrange_v1" ); private static final Set WRITE_COMMANDS = ImmutableSet.of(