summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-06-13 09:20:51 +0100
committerColin Guthrie <colin@mageia.org>2013-06-13 09:23:19 +0100
commit853c8ebcc561416aae6a8e3b66ef2539d18fe2c9 (patch)
tree37a022196d3339b53de3ee7b59cba6022e5dd29f
parent0a64bfe76a5b96c2de758773c2f47867fa6ae6bb (diff)
downloadsvn-git-migration-853c8ebcc561416aae6a8e3b66ef2539d18fe2c9.tar
svn-git-migration-853c8ebcc561416aae6a8e3b66ef2539d18fe2c9.tar.gz
svn-git-migration-853c8ebcc561416aae6a8e3b66ef2539d18fe2c9.tar.bz2
svn-git-migration-853c8ebcc561416aae6a8e3b66ef2539d18fe2c9.tar.xz
svn-git-migration-853c8ebcc561416aae6a8e3b66ef2539d18fe2c9.zip
Compress the SQL revision map
-rwxr-xr-xscripts/mageia-reset-and-import.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mageia-reset-and-import.sh b/scripts/mageia-reset-and-import.sh
index 52874da..4d7dbcc 100755
--- a/scripts/mageia-reset-and-import.sh
+++ b/scripts/mageia-reset-and-import.sh
@@ -414,7 +414,7 @@ echo
echo -n "Creating revision -> sha1 map SQL... "
sql="../$SOFTWARE-revmap.sql"
-rm -f "$sql"
+rm -f "$sql" "$sql".xz
# First to the old (i.e. mdv) ones
revmap=".git/svn/refs/remotes/trunk/.rev_map.$OLDSVNUUID"
@@ -444,4 +444,6 @@ for revmap in $(find .git/svn/refs/remotes/{tags,branches} -name .rev_map.$NEWSV
parsesvnrevmap "$revmap" "mga" "$(echo $revmap | cut -d'/' -f6)" >>"$sql"
done
+xz "$sql"
+
echo "done"