equal
deleted
inserted
replaced
4 $ cat <<EOF >> $HGRCPATH |
4 $ cat <<EOF >> $HGRCPATH |
5 > [extensions] |
5 > [extensions] |
6 > gpg= |
6 > gpg= |
7 > |
7 > |
8 > [gpg] |
8 > [gpg] |
9 > cmd=gpg --no-permission-warning --no-secmem-warning --homedir $TESTDIR/gpg |
9 > cmd=gpg --no-permission-warning --no-secmem-warning --no-auto-check-trustdb --homedir $TESTDIR/gpg |
10 > EOF |
10 > EOF |
11 $ hg init r |
11 $ hg init r |
12 $ cd r |
12 $ cd r |
13 $ echo foo > foo |
13 $ echo foo > foo |
14 $ hg ci -Amfoo |
14 $ hg ci -Amfoo |
23 hgtest 0:e63c23eaa88ae77967edcf4ea194d31167c478b0 |
23 hgtest 0:e63c23eaa88ae77967edcf4ea194d31167c478b0 |
24 |
24 |
25 $ hg sigcheck 0 |
25 $ hg sigcheck 0 |
26 e63c23eaa88a is signed by: |
26 e63c23eaa88a is signed by: |
27 hgtest |
27 hgtest |
|
28 |
|
29 verify that this test has not modified the trustdb.gpg file back in |
|
30 the main hg working dir |
|
31 $ hg --cwd $TESTDIR status gpg |