# HG changeset patch # User Matt Harbison # Date 1547871776 18000 # Node ID b5d7413e40099d71d29d2343624e4344ad8f2b07 # Parent 86f6b441adea972b2a297ca1944745b0287a7979 help: document the minimumhgversion variable for extensions diff -r 86f6b441adea -r b5d7413e4009 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? ============================