Reintroduce breaks to stop ridiculous branch/tag fails.

Need to fix this in a proper way.
rtd2
Eric Holscher 2012-09-25 15:50:39 -07:00
parent 7fc275befe
commit 50a88a5688
1 changed files with 4 additions and 2 deletions

View File

@ -284,7 +284,8 @@ def update_imported_docs(project, version):
except Exception, e:
log.error("Failed to create version (tag)", exc_info=True)
transaction.rollback()
#break
#break here to stop updating tags when they will all fail.
break
transaction.leave_transaction_management()
if version_repo.supports_branches:
transaction.enter_transaction_management(True)
@ -305,7 +306,8 @@ def update_imported_docs(project, version):
except Exception, e:
log.error("Failed to create version (branch)", exc_info=True)
transaction.rollback()
#break
#break here to stop updating branches when they will all fail.
break
transaction.leave_transaction_management()
#TODO: Kill deleted branches
except ValueError, e: