Mercurial > public > mercurial-scm > hg
diff mercurial/subrepo.py @ 18031:54f063acc5ea
merge with stable
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 04 Dec 2012 11:19:32 -0600 |
parents | a9f4a6076740 0c10cf819146 |
children | 9e3910db4e78 |
line wrap: on
line diff
--- a/mercurial/subrepo.py Mon Dec 03 13:17:01 2012 -0800 +++ b/mercurial/subrepo.py Tue Dec 04 11:19:32 2012 -0600 @@ -330,7 +330,7 @@ def status(self, rev2, **opts): return [], [], [], [], [], [], [] - def diff(self, diffopts, node2, match, prefix, **opts): + def diff(self, ui, diffopts, node2, match, prefix, **opts): pass def outgoing(self, ui, dest, opts): @@ -437,14 +437,14 @@ % (inst, subrelpath(self))) return [], [], [], [], [], [], [] - def diff(self, diffopts, node2, match, prefix, **opts): + def diff(self, ui, diffopts, node2, match, prefix, **opts): try: node1 = node.bin(self._state[1]) # We currently expect node2 to come from substate and be # in hex format if node2 is not None: node2 = node.bin(node2) - cmdutil.diffordiffstat(self._repo.ui, self._repo, diffopts, + cmdutil.diffordiffstat(ui, self._repo, diffopts, node1, node2, match, prefix=posixpath.join(prefix, self._path), listsubrepos=True, **opts)