From 592ca930f4c5694e7a4ef10e22013043d3564d9e Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Thu, 13 Jun 2013 09:50:05 +0100 Subject: Docs --- scripts/mageia-reset-and-import.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/mageia-reset-and-import.sh b/scripts/mageia-reset-and-import.sh index b50e5f1..664dc12 100755 --- a/scripts/mageia-reset-and-import.sh +++ b/scripts/mageia-reset-and-import.sh @@ -380,6 +380,11 @@ popd # CREATE TABLE refs (distro char(3) NOT NULL, soft varchar(255) NOT NULL, revision int(10) unsigned NOT NULL, sha1 char(40) NOT NULL, head varchar(255) NOT NULL); +# Parse a git-svn revmap file into SQL +# $1 = Name of revmap file +# $2 = Distro ('mdv' or 'mga') +# $3 = head name i.e. branch or tag name (only used when not processing trunk/master) +# $4 = Special SHA1 (last sha1 to look for if 'mdv', fake sha1 commit if 'mga') parsesvnrevmap() { if [ ! -f "$1" ]; then -- cgit v1.2.1