Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-remove.out @ 1592:347c44611348
gpg signing extension for hg
the principle is almost the same as how tags work:
.hgsigs stores signatures, localsigs stores local signatures
the format of the signatures is:
nodeid sigversion base64_detached_sig
sigversion 0 signs simply the nodeid (maybe we would like
to sign other things in the future).
you can associate fingerprints with roles in hgrc like:
[gpg]
fingerprint_of_a_key_without_spaces = release
fingerprint_of_a_key_without_spaces = contributor, testing
the key used for signing can be specified on the command line or
via hgrc (key =)
thanks to Eric Hopper for testing and bugfixing
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 16 Dec 2005 11:12:08 -0600 |
parents | 6a104941d56a |
children | c6ffedc4f11b |
line wrap: on
line source
# HG changeset patch # User test # Node ID b51ca55c20354097ca299529d18b5cd356976ba2 # Parent 0000000000000000000000000000000000000000 1 diff -r 000000000000 -r b51ca55c2035 foo --- /dev/null Thu Jan 1 00:00:00 1970 +0000 +++ b/foo Thu Jan 1 00:00:00 1970 +0000 @@ -0,0 +1,1 @@ +a # HG changeset patch # User test # Node ID 1e555b9b85c52e1e9e8175446f1ede507b2d1ebb # Parent b51ca55c20354097ca299529d18b5cd356976ba2 2 diff -r b51ca55c2035 -r 1e555b9b85c5 foo --- a/foo Thu Jan 1 00:00:00 1970 +0000 +++ /dev/null Thu Jan 1 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -a changeset: 0:b51ca55c2035 user: test date: Thu Jan 1 00:00:00 1970 +0000 summary: 1 diff -r 000000000000 -r b51ca55c2035 foo --- /dev/null Thu Jan 1 00:00:00 1970 +0000 +++ b/foo Thu Jan 1 00:00:00 1970 +0000 @@ -0,0 +1,1 @@ +a changeset: 1:1e555b9b85c5 tag: tip user: test date: Thu Jan 1 00:00:00 1970 +0000 summary: 2 diff -r b51ca55c2035 -r 1e555b9b85c5 foo --- a/foo Thu Jan 1 00:00:00 1970 +0000 +++ /dev/null Thu Jan 1 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -a