#!/bin/sh -e

while true; do
	A=`dna`
	[ -z "$A" ] && break
	echo unknown files in `basename $(darcs_root)`:
	echo "$A"
	echo
	echo please add, dignore or rm them, then ^D
	bash -i || true
done

#drvmd
if [ -n "$hard" ]; then
	dra -m "$hard" "$@"
else
	ds "$@"
	echo
	dr "$@"
fi

echo >&2
dmg
# TODO would like to integrate with prev. patch
