Mercurial > public > mercurial-scm > hg-stable
diff hgext/extdiff.py @ 13970:d13913355390
move opener from util to scmutil
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Wed, 20 Apr 2011 19:54:57 +0200 |
parents | a8d13ee0ce68 |
children | 92b768e9f80c |
line wrap: on
line diff
--- a/hgext/extdiff.py Wed Apr 20 23:30:07 2011 +0200 +++ b/hgext/extdiff.py Wed Apr 20 19:54:57 2011 +0200 @@ -61,7 +61,7 @@ from mercurial.i18n import _ from mercurial.node import short, nullid -from mercurial import cmdutil, util, commands, encoding +from mercurial import cmdutil, scmutil, util, commands, encoding import os, shlex, shutil, tempfile, re def snapshot(ui, repo, files, node, tmproot): @@ -81,7 +81,7 @@ else: ui.note(_('making snapshot of %d files from working directory\n') % (len(files))) - wopener = util.opener(base) + wopener = scmutil.opener(base) fns_and_mtime = [] ctx = repo[node] for fn in files: