equal
deleted
inserted
replaced
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''' |