#!/bin/sh
set -ev

test $DARCS || DARCS=$PWD/../darcs

rm -rf temp
mkdir temp
cd temp

$DARCS init

echo stuff > foo
$DARCS add foo

$DARCS revert -a