Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 25186:80c5b2666a96
extensions: document that `testedwith = 'internal'` is special
Extension authors (notably at companies using hg) have been
cargo-culting the `testedwith = 'internal'` bit from hg's own
extensions, which then defeats our "file bugs over here" logic in
dispatch. Let's be more aggressive about trying to give extension
authors a hint about what testedwith should say.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 28 Apr 2015 16:44:37 -0400 |
parents | 2e5f6cdf01f6 |
children | a363c058872a |
line wrap: on
line diff
--- a/hgext/patchbomb.py Fri Apr 10 23:12:33 2015 -0700 +++ b/hgext/patchbomb.py Tue Apr 28 16:44:37 2015 -0400 @@ -71,6 +71,10 @@ cmdtable = {} command = cmdutil.command(cmdtable) +# Note for extension authors: ONLY specify testedwith = 'internal' for +# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should +# be specifying the version(s) of Mercurial they are tested with, or +# leave the attribute unspecified. testedwith = 'internal' def prompt(ui, prompt, default=None, rest=':'):