1#!/usr/bin/env bash 2. ./lib 3 4rm -rf tempA tempB 5mkdir tempA tempB 6cd tempA 7darcs init 8touch foo 9darcs add foo 10darcs record -a -m addA -A x 11cd ../tempB 12darcs init 13darcs pull -a ../tempA 14darcs remove foo 15# rm foo 16darcs record -a -m rmB -A x 17cd ../tempA 18darcs remove foo 19darcs record -a -m rmA -A x 20cd ../tempB 21darcs pull -a ../tempA 22cd .. 23rm -rf tempA tempB 24 25