Andi, 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?
Currently I am trying to avoid this error, but creating a new view in the methods it is raised. The methods I am talking about might be seen in my sandbox at: http://viewcvs.osafoundation.org/sandbox/vera/Chandler-ReportPlugin/reports/History.py?rev=1723&view=markup The method getDeletedItems causes the error if a view is transferred to it as an argument. Thank you in advance, Vera.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "chandler-dev" mailing list http://lists.osafoundation.org/mailman/listinfo/chandler-dev
