[Chandler-dev] Re: Reusing the same view when accessing to repository

Andi Vajda vajda at osafoundation.org
Mon Sep 3 20:38:11 PDT 2007


On Mon, 3 Sep 2007, Vera wrote:

> As I understood, creating a new repository view is a costly operation, and
> reusing the same view is recommended for shorter runtimes. When accessing
> previous versions information I create a new view once, and try to reuse it
> by transferring it as an argument to a function. However, in certain cases
> (when I am assigning older and then newer versions to the view) an error  is
> raised in _refresh  method in repository. Invocation of the same method with
> a new view created as the first step and not transferred from outside, does
> not cause this error.
> Do you know what is the reason for this error? Is it supposed to work this
> way?

How about telling me what the error actually is ?
Including a stacktrace is even better.

Andi..


More information about the chandler-dev mailing list