Andi Vajda | 4 Sep 2007 05:38
Favicon

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


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..
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev


Gmane