summaryrefslogtreecommitdiffstats
path: root/db-move
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2009-07-22 20:02:37 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-22 23:23:37 +0200
commit94c1ba6eed3fbdda8be0b7c67257d30dcabfd5c6 (patch)
tree11fabb071df62d01b9c3c06af5a59721b8c09ac7 /db-move
parente4346ab8404ee32a69848d4f55bb0d09664c7d75 (diff)
downloaddbscripts-94c1ba6eed3fbdda8be0b7c67257d30dcabfd5c6.tar.gz
dbscripts-94c1ba6eed3fbdda8be0b7c67257d30dcabfd5c6.tar.xz
remove support for different svn repos
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-move')
-rwxr-xr-xdb-move7
1 files changed, 1 insertions, 6 deletions
diff --git a/db-move b/db-move
index 4dbec07..e3897e3 100755
--- a/db-move
+++ b/db-move
@@ -20,11 +20,6 @@ ftppath_from="$FTP_BASE/$repofrom/os/"
ftppath_to="$FTP_BASE/$repoto/os/"
svnrepo_from="$repofrom-$_arch"
svnrepo_to="$repoto-$_arch"
-svnpath="$(get_svnpath $repoto)"
-if [ "$svnpath" != "$(get_svnpath $repofrom)" ]; then
- echo "ERROR: Cannot move packages across SVN repos"
- echo " A move must be within the same svn repo"
-fi
[ "$UID" = "" ] && UID=$(uid)
@@ -58,7 +53,7 @@ repo_lock $repofrom $_arch
/bin/mkdir -p "$WORKDIR"
cd "$WORKDIR"
-/usr/bin/svn checkout -N $svnpath checkout
+/usr/bin/svn checkout -N $SVNREPO checkout
cd checkout
/usr/bin/svn up -q $packagebase