devtools/repotest.py
changeset 7358 5a56890b33df
parent 6957 ffda12be2e9f
child 7359 40490b9e0a6e
--- a/devtools/repotest.py	Tue May 10 18:17:55 2011 +0200
+++ b/devtools/repotest.py	Tue May 10 18:53:18 2011 +0200
@@ -264,6 +264,7 @@
         u._groups = set(groups)
         s = Session(u, self.repo)
         s._threaddata.pool = self.pool
+        s._threaddata.ctx_count = 1
         # register session to ensure it gets closed
         self._dumb_sessions.append(s)
         return s