#!/bin/bash
INFO=`svn info $1`
if [[ $? > 0 ]]; then
exit 1;
fi;
URLLINE=`svn info $1 | grep "URL: "`
URL=${URLLINE/URL: /}
svn del $1
svn cp ${URL} -r $2 `dirname $1`
File Information
Last changed
Revision 53 (2007-01-07 07:31 AM)
Last author
xen0n
About the Author
Alan is a 20-year-old second-year Computer Science student. He can usually be
found behind his computer working on some new piece of software using something
he's recently discovered or learned.
Currently he is a freelance programmer in the time not dedicated to university
work.