# # # patch "rcs_import.cc" # from [a2e0ca37132e2e6814e979cfc6d40f36f1aa1264] # to [e77f12752fc0f7d2f684ca45ce8e719edc4b0d5a] # ============================================================ --- rcs_import.cc a2e0ca37132e2e6814e979cfc6d40f36f1aa1264 +++ rcs_import.cc e77f12752fc0f7d2f684ca45ce8e719edc4b0d5a @@ -8,6 +8,7 @@ // PURPOSE. #include +#include #include #include #include @@ -1356,7 +1357,7 @@ class blob_label_writer blob_label_writer(cvs_history & c) : cvs(c) {}; template - void operator()(ostream & out, const VertexOrEdge & v) const + void operator()(std::ostream & out, const VertexOrEdge & v) const { string label; cvs_blob b = cvs.blobs[v]; @@ -1438,9 +1439,12 @@ resolve_blob_dependencies(cvs_history &c do { - viz_file.open((FL("cvs_graph.%d.viz") % step_no).str().c_str()); - boost::write_graphviz(viz_file, g, blw); - viz_file.close(); + if (global_sanity.debug) + { + viz_file.open((FL("cvs_graph.%d.viz") % step_no).str().c_str()); + boost::write_graphviz(viz_file, g, blw); + viz_file.close(); + } back_edges.clear(); depth_first_search(g, visitor(vis));