Show More
@@ -36,6 +36,9 b' configitem = registrar.configitem(config' | |||
|
36 | 36 | configitem('gpg', 'cmd', |
|
37 | 37 | default='gpg', |
|
38 | 38 | ) |
|
39 | configitem('gpg', 'key', | |
|
40 | default=None, | |
|
41 | ) | |
|
39 | 42 | |
|
40 | 43 | class gpg(object): |
|
41 | 44 | def __init__(self, path, key=None): |
@@ -101,7 +104,7 b' def newgpg(ui, **opts):' | |||
|
101 | 104 | gpgpath = ui.config("gpg", "cmd") |
|
102 | 105 | gpgkey = opts.get('key') |
|
103 | 106 | if not gpgkey: |
|
104 |
gpgkey = ui.config("gpg", "key" |
|
|
107 | gpgkey = ui.config("gpg", "key") | |
|
105 | 108 | return gpg(gpgpath, gpgkey) |
|
106 | 109 | |
|
107 | 110 | def sigwalk(repo): |
General Comments 0
You need to be logged in to leave comments.
Login now