comparison 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
comparison
equal deleted inserted replaced
25185:bf6b476f3b36 25186:80c5b2666a96
93 93
94 from mercurial.i18n import _ 94 from mercurial.i18n import _
95 from mercurial import util, config, extensions, match, error 95 from mercurial import util, config, extensions, match, error
96 import re, os 96 import re, os
97 97
98 # Note for extension authors: ONLY specify testedwith = 'internal' for
99 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
100 # be specifying the version(s) of Mercurial they are tested with, or
101 # leave the attribute unspecified.
98 testedwith = 'internal' 102 testedwith = 'internal'
99 103
100 # Matches a lone LF, i.e., one that is not part of CRLF. 104 # Matches a lone LF, i.e., one that is not part of CRLF.
101 singlelf = re.compile('(^|[^\r])\n') 105 singlelf = re.compile('(^|[^\r])\n')
102 # Matches a single EOL which can either be a CRLF where repeated CR 106 # Matches a single EOL which can either be a CRLF where repeated CR