Revision: 78308
          http://sourceforge.net/p/brlcad/code/78308
Author:   starseeker
Date:     2021-02-23 13:46:34 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
Note trivial but typing saving scripts to use for querying local SVN copy of 
repo.

Modified Paths:
--------------
    brlcad/trunk/misc/repoconv/NOTES

Modified: brlcad/trunk/misc/repoconv/NOTES
===================================================================
--- brlcad/trunk/misc/repoconv/NOTES    2021-02-23 13:30:17 UTC (rev 78307)
+++ brlcad/trunk/misc/repoconv/NOTES    2021-02-23 13:46:34 UTC (rev 78308)
@@ -350,4 +350,20 @@
 but it would mean re-keying all of the information in those files to a new set 
of
 SHA1 keys manually...
 
+###############################################################################
+Handy scripts for getting local svn info quickly:
 
+List files associated with a commit, either from a specific branch or the
+whole of the repo:
+#!/bin/bash
+if [ "$#" -eq 2 ]; then
+svn diff -c$1 file:///home/user/brlcad_repo/brlcad/branches/$2|grep ^Index
+fi
+if [ "$#" -eq 1 ]; then
+svn diff -c$1 file:///home/user/brlcad_repo/brlcad|grep ^Index
+fi
+
+Get log message associated with a commit:
+#!/bin/bash
+svn log -c$1 file:///home/user/brlcad_repo
+

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