darcs-2.1.2.1: tests/mv_then_add.sh
#!/usr/bin/env bash set -ev rm -rf temp mkdir temp cd temp darcs init touch fee fi fo fum darcs add f* darcs record --author me --all --no-test --patch-name add darcs mv fee foo touch fee darcs add fee darcs record --author me --all --no-test --patch-name newfee darcs mv fi fib darcs record --author me --all --no-test --patch-name mvfi date > fi darcs add fi darcs record --author me --all --no-test --patch-name newfi cd .. rm -rf temp