fix some test failures introduced by 7350:c2452cd57026
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 10 May 2011 18:53:18 +0200
changeset 7358 5a56890b33df
parent 7356 73d7863d97c1
child 7359 40490b9e0a6e
fix some test failures introduced by 7350:c2452cd57026
devtools/repotest.py
--- 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