Mercurial > hg
comparison hgext/schemes.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 | b52404a914a9 |
children | 56b2bcea2529 |
comparison
equal
deleted
inserted
replaced
25185:bf6b476f3b36 | 25186:80c5b2666a96 |
---|---|
42 | 42 |
43 import os, re | 43 import os, re |
44 from mercurial import extensions, hg, templater, util | 44 from mercurial import extensions, hg, templater, util |
45 from mercurial.i18n import _ | 45 from mercurial.i18n import _ |
46 | 46 |
47 # Note for extension authors: ONLY specify testedwith = 'internal' for | |
48 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | |
49 # be specifying the version(s) of Mercurial they are tested with, or | |
50 # leave the attribute unspecified. | |
47 testedwith = 'internal' | 51 testedwith = 'internal' |
48 | 52 |
49 | 53 |
50 class ShortRepository(object): | 54 class ShortRepository(object): |
51 def __init__(self, url, scheme, templater): | 55 def __init__(self, url, scheme, templater): |