Follow upstream changes -- rest
[git-darcs-import.git] / tests / mv_then_add.sh
blob63539b481b85bed173fc7a53a2ddab78b3a63547
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp
5 mkdir temp
6 cd temp
8 darcs init
9 touch fee fi fo fum
10 darcs add f*
11 darcs record --author me --all --no-test --patch-name add
12 darcs mv fee foo
13 touch fee
14 darcs add fee
15 darcs record --author me --all --no-test --patch-name newfee
16 darcs mv fi fib
17 darcs record --author me --all --no-test --patch-name mvfi
18 date > fi
19 darcs add fi
20 darcs record --author me --all --no-test --patch-name newfi
22 cd ..
24 rm -rf temp