changeset 13551:bbfae32f178e stable

hgcia: accept "queued." xmlrpc return as success
author Georg Brandl <georg@python.org>
date Sun, 06 Mar 2011 11:30:57 +0100
parents 1792b8a9422b
children 7ab85fec60c3
files hgext/hgcia.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/hgcia.py	Mon Mar 07 15:03:10 2011 -0600
+++ b/hgext/hgcia.py	Sun Mar 06 11:30:57 2011 +0100
@@ -198,7 +198,7 @@
     def sendrpc(self, msg):
         srv = xmlrpclib.Server(self.ciaurl)
         res = srv.hub.deliver(msg)
-        if res is not True:
+        if res is not True and res != 'queued.':
             raise util.Abort(_('%s returned an error: %s') %
                              (self.ciaurl, res))