dbk: Delete the `.check` file after the write test
[sunny256-utils.git] / gammelsvn
blob1b258e22fa1c51788f4181c22c7414fd2449cfb9
1 #!/usr/bin/env bash
3 # gammelsvn
4 # File ID: 76456e44-5d3a-11df-862d-90e6ba3022ac
6 oldurl=`svn info | egrep '^(URL|Nettadresse)' | cut -f2 -d ' '`
7 newurl=`echo $oldurl | perl -pe 's/^(.*:.*)(:)(.*?)$/$1$3/'`
9 echo svn sw --relocate $oldurl $newurl
10 svn sw --relocate $oldurl $newurl