Author: glondu-guest Date: Wed Feb 18 00:24:00 2009 New Revision: 6183 URL: http://svn.debian.org/wsvn/?sc=1&rev=6183 Log: Trying to fix gen_readme
Modified: trunk/tools/svn2git/functions.sh Modified: trunk/tools/svn2git/functions.sh URL: http://svn.debian.org/wsvn/trunk/tools/svn2git/functions.sh?rev=6183&op=diff ============================================================================== --- trunk/tools/svn2git/functions.sh (original) +++ trunk/tools/svn2git/functions.sh Wed Feb 18 00:24:00 2009 @@ -16,12 +16,13 @@ gen_readme () { PKG=$1 - svn rm --force * - mkdir trunk + svn up + svn switch --relocate svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/${PKG} svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/${PKG} + for u in *; do if [ "$u" != "trunk" ]; then svn rm "$u"; fi; done + svn rm trunk/debian echo "This package has moved to: http://git.debian.org/?p=pkg-ocaml-maint/packages/$PKG.git git://git.debian.org/git/pkg-ocaml-maint/packages/$PKG.git" > trunk/README - svn add trunk svn add trunk/README svn commit -m "Switch $PKG packaging to Git" } _______________________________________________ Pkg-ocaml-maint-commits mailing list Pkg-ocaml-maint-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits