3 # Copyright 2005, 2006 Chris Mason <mason@suse.com> |
3 # Copyright 2005, 2006 Chris Mason <mason@suse.com> |
4 # |
4 # |
5 # This software may be used and distributed according to the terms |
5 # This software may be used and distributed according to the terms |
6 # of the GNU General Public License, incorporated herein by reference. |
6 # of the GNU General Public License, incorporated herein by reference. |
7 |
7 |
8 import time, sys, signal, os |
8 import sys, os |
9 from mercurial import hg, fancyopts, commands, ui, util, patch, revlog |
9 from mercurial import hg, fancyopts, commands, ui, util, patch, revlog |
10 |
10 |
11 def difftree(ui, repo, node1=None, node2=None, *files, **opts): |
11 def difftree(ui, repo, node1=None, node2=None, *files, **opts): |
12 """diff trees from two commits""" |
12 """diff trees from two commits""" |
13 def __difftree(repo, node1, node2, files=[]): |
13 def __difftree(repo, node1, node2, files=[]): |