Mercurial > hg > mercurial-crew-with-dirclash
view templates/filediff.tmpl @ 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 | 19d2776f1725 |
children | ba625c8083d8 |
line wrap: on
line source
#header# <title>#repo|escape#: #file# diff</title> </head> <body> <div class="buttons"> <a href="?cl=#rev#">changelog</a> <a href="?tags=">tags</a> <a href="?cs=#node|short#">changeset</a> <a href="?f=#filenode|short#;file=#file#">file</a> <a href="?fl=#filenode|short#;file=#file#">revisions</a> <a href="?fa=#filenode|short#;file=#file#">annotate</a> <a href="?fd=#node|short#;file=#file#;style=raw">raw</a> </div> <h2>#file#</h2> <table id="filediffEntry"> <tr> <th class="revision">revision #rev#:</th> <td class="revision"><a href="?cs=#node|short#">#node|short#</a></td> </tr> #parent%filediffparent# </table> <div id="fileDiff"> #diff# </div> #footer#