Follow upstream changes -- rest
[git-darcs-import.git] / tests / annotate.sh
blob40d283070241e3bf48d639fe1755fd97fc2940f7
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp
5 mkdir temp
6 cd temp
7 darcs init
8 mkdir a b
9 touch a/a b/b
10 darcs add --rec .
11 darcs record -a -m ab -A test
12 darcs annotate a/a
13 # annotate --xml should encode angle brackets in user name
14 touch c
15 darcs add c
16 darcs record -a -m foo -A 'Mark Stosberg <a@b.com>'
17 darcs annotate --xml c | grep "&lt;a\@b.com&gt;"
18 cd ..
19 rm -rf temp