comparison hgext/record.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 fefcafda10b8
children 29be0450b667
comparison
equal deleted inserted replaced
25185:bf6b476f3b36 25186:80c5b2666a96
11 from mercurial import cmdutil, commands, extensions 11 from mercurial import cmdutil, commands, extensions
12 from mercurial import util 12 from mercurial import util
13 13
14 cmdtable = {} 14 cmdtable = {}
15 command = cmdutil.command(cmdtable) 15 command = cmdutil.command(cmdtable)
16 # Note for extension authors: ONLY specify testedwith = 'internal' for
17 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
18 # be specifying the version(s) of Mercurial they are tested with, or
19 # leave the attribute unspecified.
16 testedwith = 'internal' 20 testedwith = 'internal'
17 21
18 22
19 @command("record", 23 @command("record",
20 # same options as commit + white space diff options 24 # same options as commit + white space diff options