Skip to content
Permalink
Browse files

[JENKINS-11363] Automatically enable share extension when configured;…

… add help message about which versions of Mercurial support the share extension.
  • Loading branch information...
davidmc24 committed Oct 16, 2011
1 parent 31b6963 commit f6ab7906f9209e97f0f578ab70faaf3c072fe6ab
@@ -235,6 +235,9 @@ ArgumentListBuilder findHgExe(Node node, TaskListener listener, boolean allowDeb
b.add("--config", "extensions.forest=" + forestPy.getRemote());
}
}
if (inst.isUseSharing()) {
b.add("--config", "extensions.share=");
}
if (allowDebug && inst.getDebug()) {
b.add("--debug");
}
@@ -9,4 +9,6 @@
<p>If you have several jobs using the same repository location,
or one job using multiple workspaces, enabling sharing should
substantially reduce the disk usage on your nodes.</p>

<p>The share extension is distributed with Mercurial 1.3 and later.</p>
</div>

0 comments on commit f6ab790

Please sign in to comment.
You can’t perform that action at this time.