e25b1163ff40d3eacbd7115f0074353a841f9b18
chmalee
Mon Mar 7 12:58:51 2022 -0800
hub developer mode was already on by default but was not controlled via hg.conf. Leave it on by default but allow it to be turned off via hg.conf, and clarify that in the documentation, refs #28831
diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c
index fcb25b5..7f7ffb1 100644
--- src/hg/hgHubConnect/hgHubConnect.c
+++ src/hg/hgHubConnect/hgHubConnect.c
@@ -1625,45 +1625,47 @@
puts("");
// this is the invisible form for the reset hub button - it's submitted via javascript
printf("
");
// ... and now the main form
// we have three tabs for the public and unlisted hubs and hub development
printf(""
"
");
// The public hubs table is getting big and takes a while to download.
// Jquery UI's tabs() command will layout the page, but because of
// jsInlining, it will only be called at the end of the page. This can lead to the page "jumping".
// To make the inline code run now, let's flush JS inlines.
// I'm not sure that this makes a visible difference, but it doesn't do any harm either
jsInlineFinish();
jsInlineReset();
struct hash *publicHash = hgHubConnectPublic();
hgHubConnectUnlisted(hubList, publicHash);
+if (cfgOptionBooleanDefault("hgHubConnect.validateHub", TRUE))
hgHubConnectDeveloperMode();
printf("
"); // #tabs
cartWebEnd();
}
char *excludeVars[] = {"Submit", "submit", "hc_one_url", hgHubDoHubCheck,
hgHubCheckUrl, hgHubDoClear, hgHubDoRefresh, hgHubDoDisconnect,hgHubDoRedirect, hgHubDataText,
hgHubConnectRemakeTrackHub, NULL};
int main(int argc, char *argv[])
/* Process command line. */
{