changeset 50767:50334ab5e5bb

rhg: add config defaults to configitems.toml This will allow us to use the same default config mechanic as the rest of the code.
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 06 Jul 2023 11:47:41 +0200
parents 58aa5ee9c846
children 067edf5083a1
files mercurial/configitems.toml
diffstat 1 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.toml	Thu Jul 06 11:17:55 2023 +0200
+++ b/mercurial/configitems.toml	Thu Jul 06 11:47:41 2023 +0200
@@ -1888,6 +1888,38 @@
 default = false
 
 [[items]]
+section = "rhg"
+name = "cat"
+default = true
+experimental = true
+documentation = """rhg cat has some quirks that need to be ironed out. \
+In particular, the `-r` argument accepts a partial hash, but does not \
+correctly resolve `abcdef` as a potential bookmark, tag or branch name."""
+
+[[items]]
+section = "rhg"
+name = "fallback-exectutable"
+experimental = true
+
+[[items]]
+section = "rhg"
+name = "fallback-immediately"
+default = false
+experimental = true
+
+[[items]]
+section = "rhg"
+name = "ignored-extensions"
+default-type = "list_type"
+experimental = true
+
+[[items]]
+section = "rhg"
+name = "on-unsupported"
+default = "abort"
+experimental = true
+
+[[items]]
 section = "server"
 name = "bookmarks-pushkey-compat"
 default = true