+ # make changes in build/*-tags.mk
+ tagbuild=$HOME/tags/build/trunk
+ oldname=$module-${version}.${subversion}
+ newname=$module-${version}.${newsubversion}
+
+ run_prompt $(dir_needs_creation $tagbuild) "Checking out $tagbuild" \
+ svn co $svn/$module/build $tagbuild
+
+ run_prompt y "Updating $tagbuild" \
+ svn up $tagbuild
+
+ run_prompt $(svn_dir_needs_revert $tagbuild) "Reverting $tagbuild for safety " \
+ svn revert -R $tagbuild
+
+ run "cd $tagbuild" \
+ cd $tagbuild
+
+ for tagsmk in *-tags.mk; do
+ echo "Managing $tagsmk"
+ sed -i -e "s,$oldname,$newname,g" $tagsmk
+ if [ $(svn_file_needs_commit $tagsmk) = "y" ] ; then
+ echo "Changes in $tagsmk"
+ svn diff $tagsmk
+ run_prompt y "Adopt $newname in $tagsmk " \
+ svn commit -m"Adopting-$newname" $tagsmk
+ fi
+ done