Revision: 73030
          http://sourceforge.net/p/brlcad/code/73030
Author:   starseeker
Date:     2019-05-09 11:38:32 +0000 (Thu, 09 May 2019)
Log Message:
-----------
Probably still a unique svn id mapping to the branch creation, actually...

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

Modified: brlcad/trunk/misc/repoconv/svnfexport/svnfexport_git.cxx
===================================================================
--- brlcad/trunk/misc/repoconv/svnfexport/svnfexport_git.cxx    2019-05-09 
05:13:23 UTC (rev 73029)
+++ brlcad/trunk/misc/repoconv/svnfexport/svnfexport_git.cxx    2019-05-09 
11:38:32 UTC (rev 73030)
@@ -1115,8 +1115,16 @@
                    boutfile << "from " << bbpath << "," << 
rev.revision_number-1 << "\n";
                    boutfile.close();
                    all_git_branches.push_back(node.branch);
-                   // Unlike a "real" branch we don't need an empty commit 
here, since the whole
-                   // point is there is commit coming up...
+
+                   // Make an empty commit on the new branch with the commit 
message from SVN, but no changes
+
+                   std::string cfi_file = std::to_string(rev.revision_number) 
+ std::string("-commit.fi");
+                   std::ofstream coutfile(cfi_file, std::ios::out | 
std::ios::binary);
+
+                   write_commit_core(coutfile, node.branch, rev, NULL, 1, 0);
+
+                   coutfile.close();
+
                    continue;
                }
                if (rev.revision_number == edited_tag_maxr) {

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