Follow upstream changes -- rest
[git-darcs-import.git] / tests / repair-clean.sh
blob50bca79364ab3eb20a8857e31fb006b1ccb19acf
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp1
5 mkdir temp1
6 cd temp1
8 darcs init
9 touch baz
10 darcs add baz
11 darcs record -m moo -a
13 cat _darcs/patches/pending
15 darcs changes -v
17 darcs check
19 # check that repair doesn't do anything to a clean repository
20 darcs repair > out
21 cat out
22 grep 'already consistent' out
24 cd ..
25 rm -rf temp1