summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-12-13 13:00:42 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-12-13 13:00:42 -0500
commitf843033749d3fd481ec74dbb0181d33cb4bf4668 (patch)
tree359917b227b1341e785729ffbe6041d027cec3e4
parent0fe8cfd3e1dad0816947fdf88cc0dba778aea067 (diff)
monotone: Deal with format change in version 0.45. (Thanks, Richard Levitte)
-rw-r--r--IkiWiki/Plugin/monotone.pm2
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/monotone.pm b/IkiWiki/Plugin/monotone.pm
index 05c5a514d..c717ceefb 100644
--- a/IkiWiki/Plugin/monotone.pm
+++ b/IkiWiki/Plugin/monotone.pm
@@ -228,7 +228,7 @@ sub read_certs ($$) {
my @ret;
my $line = $results[0];
- while ($line =~ m/\s+key\s"(.*?)"\nsignature\s"(ok|bad|unknown)"\n\s+name\s"(.*?)"\n\s+value\s"(.*?)"\n\s+trust\s"(trusted|untrusted)"\n/sg) {
+ while ($line =~ m/\s+key\s["\[](.*?)[\]"]\nsignature\s"(ok|bad|unknown)"\n\s+name\s"(.*?)"\n\s+value\s"(.*?)"\n\s+trust\s"(trusted|untrusted)"\n/sg) {
push @ret, {
key => $1,
signature => $2,
diff --git a/debian/changelog b/debian/changelog
index eb8248804..491e07a4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ ikiwiki (3.20091203) UNRELEASED; urgency=low
* Add complete Spanish basewiki translation done by Fernando Gonzalez de
Requena.
* Improve javascript onload handling.
+ * monotone: Deal with format change in version 0.45.
+ (Thanks, Richard Levitte)
-- Joey Hess <joeyh@debian.org> Wed, 02 Dec 2009 17:22:21 -0500