[Pkg-ocaml-maint-commits] r6183 - /trunk/tools/svn2git/functions.sh
glondu-guest at users.alioth.debian.org
glondu-guest at users.alioth.debian.org
Wed Feb 18 00:24:00 UTC 2009
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"
}
More information about the Pkg-ocaml-maint-commits
mailing list