Revision: 76556
          http://sourceforge.net/p/brlcad/code/76556
Author:   starseeker
Date:     2020-07-28 12:41:18 +0000 (Tue, 28 Jul 2020)
Log Message:
-----------
Note script for generating the key->sha1 map

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 12:14:57 UTC (rev 
76555)
+++ brlcad/trunk/misc/repoconv/cvs_info.sh      2020-07-28 12:41:18 UTC (rev 
76556)
@@ -75,3 +75,17 @@
 done
 
 cd ..
+
+
+# To generate a map between the above keys and sha1 values, run the
+# following script from within the repository you wish to map to:
+
+# git log --all --pretty=format:"%H" > sha1s.txt
+#
+# while IFS="" read -r p || [ -n "$p" ]
+# do
+#      MSGSHA1=$(git log -n1 --pretty=format:"%B" $p | sha1sum | head -c 40)
+#      CDATE=$(git log -n1 --pretty=format:"%ct" $p)
+#      echo $MSGSHA1$CDATE:$p >> msgtime_sha1_map
+# done < sha1s.txt
+

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