# HG changeset patch # User Sylvain Thénault # Date 1251368238 -7200 # Node ID f0ae6a5aba3ec0ce73d6b07add91bbfcfb67ad06 # Parent bc573d5fb5b749a54f8e69602bbcd207c9fc8544 integrate fix made for shingouz, let's see if it breaks something diff -r bc573d5fb5b7 -r f0ae6a5aba3e cwvreg.py --- a/cwvreg.py Wed Aug 26 19:53:01 2009 +0200 +++ b/cwvreg.py Thu Aug 27 12:17:18 2009 +0200 @@ -142,9 +142,9 @@ objects = self['Any'] assert len(objects) == 1, objects cls = objects[0] - if cls.id == etype: - cls.__initialize__() - return cls + # make a copy event if cls.id == etype, else we may have pb for client + # application using multiple connections to different repositories (eg + # shingouz) cls = dump_class(cls, etype) cls.id = etype cls.__initialize__()