--- a/cobalt.py Tue Nov 04 16:05:38 2014 +0200 +++ b/cobalt.py Tue Nov 04 16:07:19 2014 +0200 @@ -1069,6 +1069,8 @@ break except hgapi.hgapi.HgException: pass + else: + repo = None #done if repo == None: