cubicweb-vcsfile #2861376 error while importing new revisions of hg repo [rejected]

maybe linked to evolve (the repo has hidden changesets):

CRITICAL: error while importing revision 1 of /home/ptonelli/etc/cubicweb.d/ptonelli_vishnu/repo_cache/1160/test_project
Traceback (most recent call last):
  File "/home/ptonelli/src/cubes/vcsfile/repohg.py", line 260, in import_content
    self.import_revision(repoentity, repo, rev)
  File "/home/ptonelli/src/cubes/vcsfile/repohg.py", line 389, in import_revision
    reveid = bridge.import_revision(session, self.eid, **revdata)
  File "/home/ptonelli/src/cubes/vcsfile/bridge.py", line 190, in import_revision
    reveid = session.execute(queries.new_revision_rql(prevs, precs, True), args)[0][0]
  File "/home/ptonelli/src/cubicweb/server/session.py", line 1187, in execute
    rset = self._execute(self, rql, kwargs, build_descr)
  File "/home/ptonelli/src/cubicweb/server/querier.py", line 739, in execute
    results = plan.execute()
  File "/home/ptonelli/src/cubicweb/server/querier.py", line 205, in execute
    result = step.execute()
  File "/home/ptonelli/src/cubicweb/server/ssplanner.py", line 510, in execute
    result = self.plan.insert_entity_defs()
  File "/home/ptonelli/src/cubicweb/server/querier.py", line 556, in insert_entity_defs
    for edef in row])
  File "/home/ptonelli/src/cubicweb/server/repository.py", line 1379, in glob_add_entity
    self.hm.call_hooks('after_add_entity', session, entity=entity)
  File "/home/ptonelli/src/cubicweb/server/hook.py", line 409, in call_hooks
    registry.call_hooks(event, session, **kwargs)
  File "/home/ptonelli/src/cubicweb/server/hook.py", line 330, in call_hooks
    hook()
  File "/home/ptonelli/src/cubes/apycot/hooks.py", line 149, in __call__
    tc.start(pe, revision.branch)
  File "/home/ptonelli/src/cubes/apycot/entities.py", line 309, in start
    assert len(duplicate_rset) == 1
AssertionError
2013-05-02 18:18:54 - (cubicweb.sources.hg) ERROR: error while importing content for vcs repo vishnu test repo
Traceback (most recent call last):
  File "/home/ptonelli/src/cubes/vcsfile/bridge.py", line 101, in import_vcsrepo_content
    repohdlr.import_content(vcsrepo, commitevery)
  File "/home/ptonelli/src/cubes/vcsfile/repohg.py", line 260, in import_content
    self.import_revision(repoentity, repo, rev)
  File "/home/ptonelli/src/cubes/vcsfile/repohg.py", line 389, in import_revision
    reveid = bridge.import_revision(session, self.eid, **revdata)
  File "/home/ptonelli/src/cubes/vcsfile/bridge.py", line 190, in import_revision
    reveid = session.execute(queries.new_revision_rql(prevs, precs, True), args)[0][0]
  File "/home/ptonelli/src/cubicweb/server/session.py", line 1187, in execute
    rset = self._execute(self, rql, kwargs, build_descr)
  File "/home/ptonelli/src/cubicweb/server/querier.py", line 739, in execute
    results = plan.execute()
  File "/home/ptonelli/src/cubicweb/server/querier.py", line 205, in execute
    result = step.execute()
  File "/home/ptonelli/src/cubicweb/server/ssplanner.py", line 510, in execute
    result = self.plan.insert_entity_defs()
  File "/home/ptonelli/src/cubicweb/server/querier.py", line 556, in insert_entity_defs
    for edef in row])
  File "/home/ptonelli/src/cubicweb/server/repository.py", line 1379, in glob_add_entity
    self.hm.call_hooks('after_add_entity', session, entity=entity)
  File "/home/ptonelli/src/cubicweb/server/hook.py", line 409, in call_hooks
    registry.call_hooks(event, session, **kwargs)
  File "/home/ptonelli/src/cubicweb/server/hook.py", line 330, in call_hooks
    hook()
  File "/home/ptonelli/src/cubes/apycot/hooks.py", line 149, in __call__
    tc.start(pe, revision.branch)
  File "/home/ptonelli/src/cubes/apycot/entities.py", line 309, in start
    assert len(duplicate_rset) == 1
AssertionError
prioritynormal
typebug
done in<not specified>
load0.000
load left0.000
closed by<not specified>