Revision: 76491
          http://sourceforge.net/p/brlcad/code/76491
Author:   starseeker
Date:     2020-07-25 13:09:44 +0000 (Sat, 25 Jul 2020)
Log Message:
-----------
Whoops - write svn style name for trunk instead of git name

Modified Paths:
--------------
    brlcad/trunk/misc/repowork/repowork.cpp

Modified: brlcad/trunk/misc/repowork/repowork.cpp
===================================================================
--- brlcad/trunk/misc/repowork/repowork.cpp     2020-07-25 11:11:21 UTC (rev 
76490)
+++ brlcad/trunk/misc/repowork/repowork.cpp     2020-07-25 13:09:44 UTC (rev 
76491)
@@ -83,8 +83,12 @@
        }
        std::string note((std::istreambuf_iterator<char>(n)), 
std::istreambuf_iterator<char>());
 
+       // Replace git style branch name for master with SVN style name
+       std::regex mstr_regex("svn:branch:master");
+       std::string note_fixed = std::regex_replace(note, mstr_regex, 
"svn:branch:trunk");
+
        // Write the message to the commit's string;
-       s->commits[i].notes_string = note;
+       s->commits[i].notes_string = note_fixed;
 
        // SPECIAL PURPOSE CODE - should go away eventually.
        // For BRL-CAD specifically, this information contains

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to