+ config flag added to emove old objects before storing new ones
I don't even rememberwhy thisisnot done by default
let ch = open_out (ng_path_of_baseuri baseuri) in
Marshal.to_channel ch (magic,(status#dump.dependencies,status#dump.objs)) [];
close_out ch;
-(*
+
+ if Helm_registry.get_bool "matita.remove_old_objects" then
remove_objects ~baseuri; (* FG: we remove the old objects before putting the new ones*)
-*)
+
List.iter
(function
| `Obj (uri,obj) ->
<!-- Debug only. Stay away. -->
<!-- <key name="environment_trust">true</key> -->
<key name="basedir">$(user.home)/.matita</key>
+ <!-- remove the old objects before putting the new ones -->
+ <key name="remove_old_objects">false</key>
<!-- Where support files are installed -->
<key name="rt_base_dir">@RT_BASE_DIR@</key>
<!-- Metadata owner. It will be used to create user-specific tables