Follow upstream changes -- rest
[git-darcs-import.git] / tests / nonewline.sh
blobbe934bc8025f8ea15dfa45e1392108e52c79ead8
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp1 temp2
5 mkdir temp1 temp2
6 cd temp1
7 darcs init
8 echo -n zig > foo
9 darcs add foo
10 sleep 1
11 darcs record -a -m add_foo -A x
12 #sleep 1
13 echo -n zag >> foo
14 darcs record --ignore-time -a -m mod_foo -A x
15 cd ../temp2
16 darcs init
17 darcs pull -a ../temp1
18 cd ..
19 cmp temp1/foo temp2/foo
20 rm -rf temp1 temp2