rhg: add config defaults to configitems.toml
authorRaphaël Gomès <rgomes@octobus.net>
Thu, 06 Jul 2023 11:47:41 +0200
changeset 50767 50334ab5e5bb
parent 50766 58aa5ee9c846
child 50768 067edf5083a1
rhg: add config defaults to configitems.toml This will allow us to use the same default config mechanic as the rest of the code.
mercurial/configitems.toml
--- 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