Make sure tags are migrated.

This commit is contained in:
Petter Reinholdtsen 2018-02-11 22:32:30 +00:00
parent 5e304c9469
commit beb8bd3425

View File

@ -14,13 +14,19 @@ EOF
git svn clone http://svn.savannah.nongnu.org/svn/sysvinit/sysvinit \
--authors-file=$authorsmap \
--no-metadata \
-t --tags=sysvinit/tags -T trunk \
--tags=tags \
--trunk=trunk \
--prefix=sysvinit/ \
sysvinit-git
rm $authorsmap
(
cd sysvinit-git
for tag in `git branch -r | grep "tags/" | sed 's/ sysvinit\/tags\///'`; do
git tag -a -m"Converting SVN tags" $tag refs/remotes/sysvinit/tags/$tag
done
)
(
cd sysvinit-git
git remote add origin ssh://git.savannah.gnu.org:/srv/git/sysvinit.git