Mercurial > hg
comparison hgext/churn.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 | fd7287f0b43c |
children | 328739ea70c3 |
comparison
equal
deleted
inserted
replaced
25185:bf6b476f3b36 | 25186:80c5b2666a96 |
---|---|
14 import os | 14 import os |
15 import time, datetime | 15 import time, datetime |
16 | 16 |
17 cmdtable = {} | 17 cmdtable = {} |
18 command = cmdutil.command(cmdtable) | 18 command = cmdutil.command(cmdtable) |
19 # Note for extension authors: ONLY specify testedwith = 'internal' for | |
20 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | |
21 # be specifying the version(s) of Mercurial they are tested with, or | |
22 # leave the attribute unspecified. | |
19 testedwith = 'internal' | 23 testedwith = 'internal' |
20 | 24 |
21 def maketemplater(ui, repo, tmpl): | 25 def maketemplater(ui, repo, tmpl): |
22 try: | 26 try: |
23 t = cmdutil.changeset_templater(ui, repo, False, None, tmpl, | 27 t = cmdutil.changeset_templater(ui, repo, False, None, tmpl, |