Make sure tags are migrated.
This commit is contained in:
parent
5e304c9469
commit
beb8bd3425
@ -14,13 +14,19 @@ EOF
|
|||||||
git svn clone http://svn.savannah.nongnu.org/svn/sysvinit/sysvinit \
|
git svn clone http://svn.savannah.nongnu.org/svn/sysvinit/sysvinit \
|
||||||
--authors-file=$authorsmap \
|
--authors-file=$authorsmap \
|
||||||
--no-metadata \
|
--no-metadata \
|
||||||
-t --tags=sysvinit/tags -T trunk \
|
--tags=tags \
|
||||||
|
--trunk=trunk \
|
||||||
|
--prefix=sysvinit/ \
|
||||||
sysvinit-git
|
sysvinit-git
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
rm $authorsmap
|
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
|
cd sysvinit-git
|
||||||
git remote add origin ssh://git.savannah.gnu.org:/srv/git/sysvinit.git
|
git remote add origin ssh://git.savannah.gnu.org:/srv/git/sysvinit.git
|
||||||
|
Loading…
Reference in New Issue
Block a user