comparison hgext/extdiff.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 fa4642439aa0
children 68822b7cdd01
comparison
equal deleted inserted replaced
25185:bf6b476f3b36 25186:80c5b2666a96
65 from mercurial import cmdutil, scmutil, util, commands, encoding, filemerge 65 from mercurial import cmdutil, scmutil, util, commands, encoding, filemerge
66 import os, shlex, shutil, tempfile, re 66 import os, shlex, shutil, tempfile, re
67 67
68 cmdtable = {} 68 cmdtable = {}
69 command = cmdutil.command(cmdtable) 69 command = cmdutil.command(cmdtable)
70 # Note for extension authors: ONLY specify testedwith = 'internal' for
71 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
72 # be specifying the version(s) of Mercurial they are tested with, or
73 # leave the attribute unspecified.
70 testedwith = 'internal' 74 testedwith = 'internal'
71 75
72 def snapshot(ui, repo, files, node, tmproot): 76 def snapshot(ui, repo, files, node, tmproot):
73 '''snapshot files as of some revision 77 '''snapshot files as of some revision
74 if not using snapshot, -I/-X does not work and recursive diff 78 if not using snapshot, -I/-X does not work and recursive diff