diff hgext/eol.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 aba1916c1b23
children 328739ea70c3
line wrap: on
line diff
--- a/hgext/eol.py	Fri Apr 10 23:12:33 2015 -0700
+++ b/hgext/eol.py	Tue Apr 28 16:44:37 2015 -0400
@@ -95,6 +95,10 @@
 from mercurial import util, config, extensions, match, error
 import re, os
 
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
 testedwith = 'internal'
 
 # Matches a lone LF, i.e., one that is not part of CRLF.