# NOTE ROOT must be an absolute path
ROOT=/tmp
CLONE=$(ROOT)/clone
SANDBOX=$(ROOT)/sandbox
SOURCE=http://css-boilerplate.googlecode.com/svn/
all:
svnadmin create $(CLONE)
ln -s /usr/bin/true $(CLONE)/hooks/pre-revprop-change
ln -s /usr/bin/true $(CLONE)/hooks/start-commit
svnsync init file://$(CLONE) $(SOURCE)
svn co file://$(CLONE) $(SANDBOX)
svnsync sync file://$(CLONE)
( cd $(SANDBOX) ; svn update ; ls -l )
clean:
rm -rf $(CLONE) $(SANDBOX)
# END
Replace SOURCE with a value appropriate to you. (Here I am using a convenient, small, public repository.)