Extend migration script to handle startpar and insserv too.
This commit is contained in:
parent
f897dbed3b
commit
94c1fedd26
@ -9,23 +9,21 @@ pere = Petter Reinholdtsen <pere@hungry.com>
|
|||||||
wfink = Werner Fink <werner@suse.de>
|
wfink = Werner Fink <werner@suse.de>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
git svn clone http://svn.savannah.nongnu.org/svn/sysvinit/sysvinit \
|
for p in sysvinit startpar insserv; do
|
||||||
--authors-file=$authorsmap \
|
git svn clone http://svn.savannah.nongnu.org/svn/sysvinit/$p \
|
||||||
--no-metadata \
|
--authors-file=$authorsmap \
|
||||||
--tags=tags \
|
--no-metadata \
|
||||||
--trunk=trunk \
|
--tags=tags \
|
||||||
--prefix=sysvinit/ \
|
--trunk=trunk \
|
||||||
sysvinit-git
|
--prefix=$p/ \
|
||||||
|
$p-git
|
||||||
|
|
||||||
|
(
|
||||||
|
cd $p-git
|
||||||
|
for tag in `git branch -r | grep "tags/" | sed "s/ $p\/tags\///"`; do
|
||||||
|
git tag -a -m"Converting SVN tags" $tag refs/remotes/$p/tags/$tag
|
||||||
|
done
|
||||||
|
git remote add origin ssh://git.savannah.gnu.org:/srv/git/$p.git
|
||||||
|
)
|
||||||
|
done
|
||||||
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
|
|
||||||
git remote add origin ssh://git.savannah.gnu.org:/srv/git/sysvinit.git
|
|
||||||
)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user