hgext/hgk.py
changeset 3963 ba45041827a2
parent 3886 abaee83ce0a6
child 3978 ee5663cb4406
equal deleted inserted replaced
3962:2b8825c94c5a 3963:ba45041827a2
     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=[]):