Mercurial > public > mercurial-scm > hg
diff tests/test-parseindex.t @ 13970:d13913355390
move opener from util to scmutil
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Wed, 20 Apr 2011 19:54:57 +0200 |
parents | 4cce5194c307 |
children | f2719b387380 |
line wrap: on
line diff
--- a/tests/test-parseindex.t Wed Apr 20 23:30:07 2011 +0200 +++ b/tests/test-parseindex.t Wed Apr 20 19:54:57 2011 +0200 @@ -26,7 +26,7 @@ summary: change foo $ cat >> test.py << EOF - > from mercurial import changelog, util + > from mercurial import changelog, scmutil > from mercurial.node import * > > class singlebyteread(object): @@ -42,7 +42,7 @@ > return getattr(self.real, key) > > def opener(*args): - > o = util.opener(*args) + > o = scmutil.opener(*args) > def wrapper(*a): > f = o(*a) > return singlebyteread(f)