#!/bin/bash rm -fr repos trunk tst R=file:///$(cygpath -ma .)/repos echo "R=$R" # Create the repository svnadmin create repos # Create the trunk svn mkdir -m '' "$R/trunk" svn co "$R/trunk" # Add an EXE and a TXT file cd trunk cp "$(cygpath -Wua)"/notepad notepad.xxx date > text.txt svn add * svn ci -m '' # Check out into another directory cd .. svn co "$R/trunk" tst cd tst ls -l