#!/bin/sh

set -x

# Make a repository containing:
#   trunk/
#   trunk/file
#   trunk/subdir/
#   trunk/subdir/file
svnadmin create repos
REPOS=file://`pwd`/repos 
mkdir trunk
echo hello > trunk/file
mkdir trunk/subdir
echo hello > trunk/subdir/file
svn import -m "" trunk $REPOS

# Check out a WC, non-recursively
svn checkout --non-recursive $REPOS wc
cd wc
ls -op

# Try to get the subdir
svn list -vR
svn status -vu
svn update subdir
svn copy $REPOS/subdir .
svn checkout $REPOS/subdir



