help: document the minimumhgversion variable for extensions stable
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 18 Jan 2019 23:22:56 -0500
branchstable
changeset 41294 b5d7413e4009
parent 41293 86f6b441adea
child 41295 bf4a078b3f88
help: document the minimumhgversion variable for extensions
mercurial/help/internals/extensions.txt
--- a/mercurial/help/internals/extensions.txt	Fri Jan 18 23:13:04 2019 -0500
+++ b/mercurial/help/internals/extensions.txt	Fri Jan 18 23:22:56 2019 -0500
@@ -313,6 +313,14 @@
 
     buglink = 'https://bitbucket.org/USER/REPO/issues'
 
+If an extension requires a minimum version of Mercurial, it can be declared
+with the ``minimumhgversion`` variable::
+
+    minimumhgversion = '4.6'
+
+Older clients will print a warning that the extension requires a new version,
+instead of attempting to load it.
+
 Wrap up: what belongs where?
 ============================