Revision: 76560
http://sourceforge.net/p/brlcad/code/76560
Author: starseeker
Date: 2020-07-28 15:30:19 +0000 (Tue, 28 Jul 2020)
Log Message:
-----------
Generate a SHA1 based map as well, in case a situation arises where we can use
original-oids to do the mapping.
Modified Paths:
--------------
brlcad/trunk/misc/repoconv/cvs_info.sh
Modified: brlcad/trunk/misc/repoconv/cvs_info.sh
===================================================================
--- brlcad/trunk/misc/repoconv/cvs_info.sh 2020-07-28 15:23:15 UTC (rev
76559)
+++ brlcad/trunk/misc/repoconv/cvs_info.sh 2020-07-28 15:30:19 UTC (rev
76560)
@@ -146,7 +146,7 @@
# mv master branches_uniq/ - Note: shouldn't need master explicitly, it's
assumed
-rm -f branchmap authormap
+rm -f key_branchmap sha1_branchmap key_authormap sha1_authormap
cd brlcad_cvs_git
for f in ../branches_uniq/*;
do
@@ -157,8 +157,10 @@
MSGSHA1=$(git log -n1 --pretty=format:"%B" $p | sha1sum | head
-c 40)
CDATE=$(git log -n1 --pretty=format:"%ct" $p)
AUTHORNAME=$(git log -n1 --pretty=format:"%an" $p)
- echo $MSGSHA1$CDATE:$branch >> ../branchmap
- echo $MSGSHA1$CDATE:$AUTHORNAME>> ../authormap
+ echo $p:$branch >> ../sha1_branchmap
+ echo $p:$AUTHORNAME >> ../sha1_authormap
+ echo $MSGSHA1$CDATE:$branch >> ../key_branchmap
+ echo $MSGSHA1$CDATE:$AUTHORNAME>> ../key_authormap
done < $f
done
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