#!/usr/bin/env bash
set -ev

# for issue706: "Filenames with spaces issue"

test $DARCS || DARCS=$PWD/../darcs
DARCS_EDITOR=echo
export DARCS_EDITOR

rm -rf temp
mkdir temp
cd temp
$DARCS init

touch 'A B'

$DARCS add 'A B'
$DARCS rec -a -m 'a b' -A me
ls
$DARCS check

cd ..
rm -rf temp
