Mercurial > hg
annotate tests/test-gpg @ 9189:c2041f80f22a
heads: more clarity for --closed
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 22 Jul 2009 18:27:23 -0500 |
parents | 6fce36336e42 |
children | 6e5e548452de |
rev | line source |
---|---|
8809 | 1 #!/bin/sh |
2 | |
3 "$TESTDIR/hghave" gpg || exit 80 | |
4 | |
5 cat <<EOF >> $HGRCPATH | |
6 [extensions] | |
7 gpg= | |
8 | |
9 [gpg] | |
10 cmd=gpg --no-permission-warning --homedir $TESTDIR/gpg | |
11 EOF | |
12 | |
13 hg init r | |
14 cd r | |
15 echo foo > foo | |
16 hg ci -Amfoo | |
17 | |
18 echo '% no signatures' | |
19 hg sigs | |
20 | |
21 echo '% hg sign 0' | |
22 hg sign 0 | |
23 | |
24 echo '% hg sigs' | |
25 hg sigs | |
26 | |
27 echo '% hg sigcheck 0' | |
28 hg sigcheck 0 |