diff options
author | Colin Guthrie <colin@mageia.org> | 2013-06-13 09:20:51 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-06-13 09:23:19 +0100 |
commit | 853c8ebcc561416aae6a8e3b66ef2539d18fe2c9 (patch) | |
tree | 37a022196d3339b53de3ee7b59cba6022e5dd29f | |
parent | 0a64bfe76a5b96c2de758773c2f47867fa6ae6bb (diff) | |
download | svn-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-x | scripts/mageia-reset-and-import.sh | 4 |
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" |