From 853c8ebcc561416aae6a8e3b66ef2539d18fe2c9 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Thu, 13 Jun 2013 09:20:51 +0100 Subject: Compress the SQL revision map --- scripts/mageia-reset-and-import.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- cgit v1.2.1