comparison hgext/extdiff.py @ 3893:6b4127c7d52a

Simplify i18n imports
author Matt Mackall <mpm@selenic.com>
date Thu, 14 Dec 2006 20:25:19 -0600
parents abaee83ce0a6
children 95e6488bc809
comparison
equal deleted inserted replaced
3892:2eec996f2fb9 3893:6b4127c7d52a
46 # You can use -I/-X and list of file or directory names like normal 46 # You can use -I/-X and list of file or directory names like normal
47 # "hg diff" command. The `extdiff' extension makes snapshots of only 47 # "hg diff" command. The `extdiff' extension makes snapshots of only
48 # needed files, so running the external diff program will actually be 48 # needed files, so running the external diff program will actually be
49 # pretty fast (at least faster than having to compare the entire tree). 49 # pretty fast (at least faster than having to compare the entire tree).
50 50
51 from mercurial.i18n import gettext as _ 51 from mercurial.i18n import _
52 from mercurial.node import * 52 from mercurial.node import *
53 from mercurial import cmdutil, util 53 from mercurial import cmdutil, util
54 import os, shutil, tempfile 54 import os, shutil, tempfile
55 55
56 def dodiff(ui, repo, diffcmd, diffopts, pats, opts): 56 def dodiff(ui, repo, diffcmd, diffopts, pats, opts):