Follow upstream changes -- Bytestring updates
[git-darcs-import.git] / tests / changes_send_context.sh
blobe603f11bab5c999fd4b5f52acb11897eb678c066
1 #!/usr/bin/env bash
2 set -ev
4 # RT#544 using context created with 8-bit chars;
5 rm -rf temp1
7 mkdir temp1
9 cd temp1
10 darcs init
11 touch foo
12 darcs record -la -m 'add\212 foo' | grep 'Finished record'
13 darcs changes --context >context
14 date > foo
15 darcs record -a -m 'date foo' | grep 'Finished record'
16 darcs send -a -o patch --context context . | grep 'Wrote patch to'
17 cd ..
18 rm -rf temp1