Mercurial > hg
comparison hgext/hgk.py @ 16743:38caf405d010
hgext: mark all first-party extensions as such
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 15 May 2012 14:37:49 -0500 |
parents | 525fdb738975 |
children | 434e5bd615fc |
comparison
equal
deleted
inserted
replaced
16742:973671fc0804 | 16743:38caf405d010 |
---|---|
36 | 36 |
37 import os | 37 import os |
38 from mercurial import commands, util, patch, revlog, scmutil | 38 from mercurial import commands, util, patch, revlog, scmutil |
39 from mercurial.node import nullid, nullrev, short | 39 from mercurial.node import nullid, nullrev, short |
40 from mercurial.i18n import _ | 40 from mercurial.i18n import _ |
41 | |
42 testedwith = 'internal' | |
41 | 43 |
42 def difftree(ui, repo, node1=None, node2=None, *files, **opts): | 44 def difftree(ui, repo, node1=None, node2=None, *files, **opts): |
43 """diff trees from two commits""" | 45 """diff trees from two commits""" |
44 def __difftree(repo, node1, node2, files=[]): | 46 def __difftree(repo, node1, node2, files=[]): |
45 assert node2 is not None | 47 assert node2 is not None |