Revision: 72461
          http://sourceforge.net/p/brlcad/code/72461
Author:   starseeker
Date:     2019-02-18 18:23:32 +0000 (Mon, 18 Feb 2019)
Log Message:
-----------
terra.dsp is causing problems again... use the git hash from the correct 
version of the file

Modified Paths:
--------------
    brlcad/trunk/misc/repoconv/svnfexport/branchsync.cxx

Modified: brlcad/trunk/misc/repoconv/svnfexport/branchsync.cxx
===================================================================
--- brlcad/trunk/misc/repoconv/svnfexport/branchsync.cxx        2019-02-18 
18:20:25 UTC (rev 72460)
+++ brlcad/trunk/misc/repoconv/svnfexport/branchsync.cxx        2019-02-18 
18:23:32 UTC (rev 72461)
@@ -140,6 +140,10 @@
     infile.read(cbuffer, n->text_content_length);
     go_buff.append("blob ");
 
+    if (n->path.find("db/terra.dsp") != std::string::npos) {
+       return std::string("b668f149e679cc373d702dee8143a3feffb2b130");
+    }
+
     if (!n->crlf_content || !n->local_path.compare("db/terra.dsp")) {
        go_buff.append(std::to_string(n->text_content_length));
        go_buff.append(1, '\0');
@@ -680,7 +684,7 @@
 
     for (size_t n = 0; n != rev.nodes.size(); n++) {
        struct svn_node &node = rev.nodes[n];
-       std::cout << "branch: " << node.branch << "\n";
+       //std::cout << "branch: " << node.branch << "\n";
        if (node.branch.length() && !node.branch.compare(bsrc)) {
            if (node.local_path.length() && node.text_content_length && 
node.text_content_sha1.length()) {
                std::string gsha1 = 
svn_sha1_to_git_sha1[node.text_content_sha1];

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

Reply via email to