hgext/extdiff.py
changeset 6211 f89fd07fc51d
parent 6103 e668fd796b8b
child 6582 5acbdd3941c4
equal deleted inserted replaced
6210:942287cb1f57 6211:f89fd07fc51d
    44 needed files, so running the external diff program will actually be
    44 needed files, so running the external diff program will actually be
    45 pretty fast (at least faster than having to compare the entire tree).
    45 pretty fast (at least faster than having to compare the entire tree).
    46 '''
    46 '''
    47 
    47 
    48 from mercurial.i18n import _
    48 from mercurial.i18n import _
    49 from mercurial.node import *
    49 from mercurial.node import short
    50 from mercurial import cmdutil, util, commands
    50 from mercurial import cmdutil, util, commands
    51 import os, shlex, shutil, tempfile
    51 import os, shlex, shutil, tempfile
    52 
    52 
    53 def snapshot_node(ui, repo, files, node, tmproot):
    53 def snapshot_node(ui, repo, files, node, tmproot):
    54     '''snapshot files as of some revision'''
    54     '''snapshot files as of some revision'''