diff bitten/queue.py @ 883:dfbf2f857a50

Fixed handling of active configurations that points to deleted branches. Configurations and builds can now be checked and displayed even though the repository path cannot be found for last revision. It uses configuration 'last' (`max_rev`) to "close" the configuration. Closes #606. Thanks to falkb for extensive testing.
author osimons
date Fri, 10 Dec 2010 09:23:12 +0000
parents 7c80375d4817
children ed77e3e1c43f
line wrap: on
line diff
--- a/bitten/queue.py
+++ b/bitten/queue.py
@@ -49,7 +49,7 @@
     if not db:
         db = env.get_db_cnx()
     try:
-        node = repos.get_node(config.path)
+        node = repos.get_node(config.path, config.max_rev)
     except Exception, e:
         env.log.warn('Error accessing path %r for configuration %r',
                     config.path, config.name, exc_info=True)
Copyright (C) 2012-2017 Edgewall Software