cubicweb-vcsfile #2924046 Revision.export() crash if repo is not cached [validation pending]

File "/usr/share/cubicweb/cubes/vcsfile/entities.py", line 249, in export
nodeid=self.changeset)
File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 371, in call_service
return self.cnx.call_service(regid, async, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 543, in decorator
return func(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 605, in call_service
return self._repo.call_service(self.sessionid, regid, async, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/server/repository.py", line 886, in call_service
return self._call_service_with_session(session, regid, async, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/server/repository.py", line 904, in _call_service_with_session
return service.call(**kwargs)
File "/usr/share/cubicweb/cubes/vcsfile/sobjects.py", line 28, in call
hgrepo = hdrepo.hgrepo()
File "/usr/share/cubicweb/cubes/vcsfile/repohg.py", line 446, in hgrepo
repo = hg.repository(ui.ui(), self.path)
File "/usr/lib/python2.6/dist-packages/mercurial/hg.py", line 111, in repository
peer = _peerorrepo(ui, path, create)
File "/usr/lib/python2.6/dist-packages/mercurial/hg.py", line 101, in _peerorrepo
obj = _peerlookup(path).instance(ui, path, create)
File "/usr/lib/python2.6/dist-packages/mercurial/localrepo.py", line 2591, in instance
return localrepository(ui, util.urllocalpath(path), create)
File "/usr/lib/python2.6/dist-packages/mercurial/localrepo.py", line 199, in __init__
raise error.RepoError(_("repository %s not found") % path)

prioritynormal
typebug
done in1.13.2
load0.250
load left0.000
closed by#945871e298ab Don't crash in revision export if we don't have a local cache of the repository
patchDon't crash in revision export if we don't have a local cache of the repository [applied]