X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fcomponents%2Fng_library%2FnCicLibrary.ml;h=e2e7d1b34054a0448950d75596034a14019cceaa;hp=0620a6233dcdff5279e11b31e5b3762ad873ce68;hb=42fb6dce8110e29ccf233c09e6d6b1d58d9e5fef;hpb=0bcf2dc1a27e38cb6cd3d44eb838d652926841e0 diff --git a/matita/components/ng_library/nCicLibrary.ml b/matita/components/ng_library/nCicLibrary.ml index 0620a6233..e2e7d1b34 100644 --- a/matita/components/ng_library/nCicLibrary.ml +++ b/matita/components/ng_library/nCicLibrary.ml @@ -260,9 +260,10 @@ module Serializer(D: sig type dumpable_s = private #dumpable_status end) = 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) ->