--- a/hgext/convert/subversion.py Wed Apr 20 23:30:07 2011 +0200
+++ b/hgext/convert/subversion.py Wed Apr 20 19:54:57 2011 +0200
@@ -10,7 +10,7 @@
import urllib
import urllib2
-from mercurial import strutil, util, encoding
+from mercurial import strutil, scmutil, util, encoding
from mercurial.i18n import _
# Subversion stuff. Works best with very recent Python SVN bindings
@@ -998,8 +998,8 @@
self.run0('checkout', path, wcpath)
self.wc = wcpath
- self.opener = util.opener(self.wc)
- self.wopener = util.opener(self.wc)
+ self.opener = scmutil.opener(self.wc)
+ self.wopener = scmutil.opener(self.wc)
self.childmap = mapfile(ui, self.join('hg-childmap'))
self.is_exec = util.checkexec(self.wc) and util.is_exec or None