diff options
author | Colin Guthrie <colin@mageia.org> | 2013-06-13 09:50:05 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-06-13 09:50:05 +0100 |
commit | 592ca930f4c5694e7a4ef10e22013043d3564d9e (patch) | |
tree | 9fb4c83fe5c1d13a243f644696fbb295604d68db /scripts | |
parent | c7c92160e6fad7629e69f358b77cae10a6f0951c (diff) | |
download | svn-git-migration-592ca930f4c5694e7a4ef10e22013043d3564d9e.tar svn-git-migration-592ca930f4c5694e7a4ef10e22013043d3564d9e.tar.gz svn-git-migration-592ca930f4c5694e7a4ef10e22013043d3564d9e.tar.bz2 svn-git-migration-592ca930f4c5694e7a4ef10e22013043d3564d9e.tar.xz svn-git-migration-592ca930f4c5694e7a4ef10e22013043d3564d9e.zip |
Docs
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mageia-reset-and-import.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |