author | Brendan Cully <brendan@kublai.com> |
Mon, 22 Feb 2010 23:30:01 -0800 | |
branch | stable |
changeset 10529 | 076e8a8000a3 |
parent 10527 | 9c0ba837dc65 |
child 10530 | ed87b6c60e0b |
child 10535 | eddf859343de |
hgext/hgcia.py | file | annotate | diff | comparison | revisions |
--- a/hgext/hgcia.py Tue Feb 23 06:42:10 2010 +0100 +++ b/hgext/hgcia.py Mon Feb 22 23:30:01 2010 -0800 @@ -197,7 +197,10 @@ def sendrpc(self, msg): srv = xmlrpclib.Server(self.ciaurl) - srv.hub.deliver(msg) + res = srv.hub.deliver(msg) + if res is not True: + raise util.Abort(_('%s returned an error: %s') % + (self.ciaurl, res)) def sendemail(self, address, data): p = email.Parser.Parser()