# HG changeset patch # User Chris Cannam # Date 1452615083 0 # Node ID bca3b5e5bbf2d3736a9dfe5122aff9848cc3e9a7 # Parent 248c402992bafa1b3d69b5f576f4d07059a741ec Better output options diff -r 248c402992ba -r bca3b5e5bbf2 extra/soundsoftware/export-git.sh --- 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"