[Monticello] MCRepositoryInspector bug..?

Chris Muller afunkyobject at yahoo.com
Tue Feb 15 21:07:58 UTC 2005


I'm having trouble with MCRepositoryInspector (not MCFileRepositoryInspector)
which may be the result of a bug.

The symptom should be easy to reproduce.  Open a repository on a GOODS
database, select a package and version in there, and then Browse it; (or
History it).

Now select a different one and try to Browse or History it.  It keeps coming up
with the first selected package.

I noticed that MCFileRepositoryInspector invalidates 'version' and
'selectedVersion' in #versionSelection:.  MCRepositoryInspector>>#version on
the other hand, does lazy initialization but does not invalidate the selection
as far as I can tell.

I discovered this while testing Magma as a Monticello repository; I did not
actually try GOODS but I suspect it would have the same problem since it uses
MCRepositoryInspector too.

Is this easy to fix?  Thanks..

 - Chris



More information about the Squeak-dev mailing list