Revision: 72282 http://sourceforge.net/p/brlcad/code/72282 Author: starseeker Date: 2019-01-29 02:19:38 +0000 (Tue, 29 Jan 2019) Log Message: ----------- Stop node processing once know we don't have props or content.
Modified Paths: -------------- brlcad/trunk/misc/repoconv/dercs/svn_de-rcs.cxx Modified: brlcad/trunk/misc/repoconv/dercs/svn_de-rcs.cxx =================================================================== --- brlcad/trunk/misc/repoconv/dercs/svn_de-rcs.cxx 2019-01-28 02:04:36 UTC (rev 72281) +++ brlcad/trunk/misc/repoconv/dercs/svn_de-rcs.cxx 2019-01-29 02:19:38 UTC (rev 72282) @@ -257,6 +257,15 @@ skip_node_props(infile, node_lines); } + // If we have neither properties nor content, we're done + if (!prop_content_length && !text_content_length) { + for (nl_it = node_lines.begin(); nl_it != node_lines.end(); nl_it++) { + outfile << *nl_it << "\n"; + } + outfile << "\n"; + return 1; + } + // If we have content, store the file offset, process the content // for possible RCS edits, set up the new values for md5 and sha1, // and jump the seek beyond the old content. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits