changeset 1547:bca3b5e5bbf2 feature_1136

Better output options
author Chris Cannam
date Tue, 12 Jan 2016 16:11:23 +0000
parents 248c402992ba
children fd4cc11ae096
files extra/soundsoftware/export-git.sh
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/extra/soundsoftware/export-git.sh	Tue Jan 12 15:19:47 2016 +0000
+++ b/extra/soundsoftware/export-git.sh	Tue Jan 12 16:11:23 2016 +0000
@@ -52,7 +52,7 @@
 
 mkdir -p "$authordir"
 
-echo "About to extract author maps..."
+echo "Extracting author maps..."
 
 "$rails" runner -e "$environment" "$progdir/create-repo-authormaps.rb" \
 	 -s "$hgdir" -o "$authordir"
@@ -69,7 +69,7 @@
     gitrepo="$gitdir/$reponame"
 
     if [ ! -f "$authormap" ]; then
-	echo "Authormap file $authormap not found for repo $hgrepo, skipping: the create-repo-authormaps script already run by this script should have created an authormap file (even if empty) for every repo with a corresponding project"
+	echo "No authormap file was created for repo $reponame, skipping"
 	continue
     fi
     
@@ -77,11 +77,12 @@
 	git init "$gitrepo"
     fi
 
+    echo
     echo "About to run fast export for repo $reponame..."
     
     (
 	cd "$gitrepo"
-	"$fastexport" -r "$hgrepo" -A "$authormap"
+	"$fastexport" --quiet -r "$hgrepo" -A "$authormap" --hg-hash
     )
 
     echo "Fast export done"