Mercurial > public > mercurial-scm > hg
comparison hgext/graphlog.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 | 8e1f1673aa9a |
children | 2f804a38351e |
comparison
equal
deleted
inserted
replaced
25185:bf6b476f3b36 | 25186:80c5b2666a96 |
---|---|
18 from mercurial.i18n import _ | 18 from mercurial.i18n import _ |
19 from mercurial import cmdutil, commands | 19 from mercurial import cmdutil, commands |
20 | 20 |
21 cmdtable = {} | 21 cmdtable = {} |
22 command = cmdutil.command(cmdtable) | 22 command = cmdutil.command(cmdtable) |
23 # Note for extension authors: ONLY specify testedwith = 'internal' for | |
24 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | |
25 # be specifying the version(s) of Mercurial they are tested with, or | |
26 # leave the attribute unspecified. | |
23 testedwith = 'internal' | 27 testedwith = 'internal' |
24 | 28 |
25 @command('glog', | 29 @command('glog', |
26 [('f', 'follow', None, | 30 [('f', 'follow', None, |
27 _('follow changeset history, or file history across copies and renames')), | 31 _('follow changeset history, or file history across copies and renames')), |