#!/bin/sh svnadmin create repo svn co file://`pwd`/repo wc cd wc echo Hello World > file.txt && svn add file.txt && svn commit -m "Adding file.txt" svn mv file.txt file2.txt && svn commit -m "Renaming file.txt" echo Goodbye World > file2.txt && svn commit -m "Changing content of ile2.txt" svn merge -r2:1 . && svn commit -m "Reverting rename of file2.txt" cat file.txt