Mercurial > hg
comparison hgext/mq.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 | 3f0744eeaeaf |
children | d298805fb639 |
comparison
equal
deleted
inserted
replaced
25185:bf6b476f3b36 | 25186:80c5b2666a96 |
---|---|
74 | 74 |
75 seriesopts = [('s', 'summary', None, _('print first line of patch header'))] | 75 seriesopts = [('s', 'summary', None, _('print first line of patch header'))] |
76 | 76 |
77 cmdtable = {} | 77 cmdtable = {} |
78 command = cmdutil.command(cmdtable) | 78 command = cmdutil.command(cmdtable) |
79 # Note for extension authors: ONLY specify testedwith = 'internal' for | |
80 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | |
81 # be specifying the version(s) of Mercurial they are tested with, or | |
82 # leave the attribute unspecified. | |
79 testedwith = 'internal' | 83 testedwith = 'internal' |
80 | 84 |
81 # force load strip extension formerly included in mq and import some utility | 85 # force load strip extension formerly included in mq and import some utility |
82 try: | 86 try: |
83 stripext = extensions.find('strip') | 87 stripext = extensions.find('strip') |