Mercurial > hg
comparison hgext/acl.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 | 681f7b9213a4 |
children | dd166d42e7b2 |
comparison
equal
deleted
inserted
replaced
25185:bf6b476f3b36 | 25186:80c5b2666a96 |
---|---|
193 | 193 |
194 from mercurial.i18n import _ | 194 from mercurial.i18n import _ |
195 from mercurial import util, match | 195 from mercurial import util, match |
196 import getpass, urllib | 196 import getpass, urllib |
197 | 197 |
198 # Note for extension authors: ONLY specify testedwith = 'internal' for | |
199 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | |
200 # be specifying the version(s) of Mercurial they are tested with, or | |
201 # leave the attribute unspecified. | |
198 testedwith = 'internal' | 202 testedwith = 'internal' |
199 | 203 |
200 def _getusers(ui, group): | 204 def _getusers(ui, group): |
201 | 205 |
202 # First, try to use group definition from section [acl.groups] | 206 # First, try to use group definition from section [acl.groups] |