#!/bin/sh

surl=$PWD
for i in $@ ;
do
  cd $surl/`dirname $i`
  svn merge -r BASE:PREV `basename $i`
done