Mercurial > hg
diff hgext/convert/subversion.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 | af331f557942 |
children | 00121103546a |
line wrap: on
line diff
--- 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