changeset 198:6bb8e7a18072

Fix a regression introduced in [206]: When the path of a build configuration did not exactly match the path in the repository (trailing slash and all), the builds wouldn't be displayed on the config page.
author cmlenz
date Wed, 14 Sep 2005 13:49:58 +0000
parents d72c0587fae9
children 9cabfdbdb8e0
files bitten/trac_ext/web_ui.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/trac_ext/web_ui.py
+++ b/bitten/trac_ext/web_ui.py
@@ -335,7 +335,7 @@
             root = repos.get_node(config.path)
             for idx, (path, rev, chg) in enumerate(root.get_history()):
                 # Don't follow moves/copies
-                if path != config.path:
+                if path != repos.normalize_path(config.path):
                     break
                 # If the directory was empty at that revision, it isn't built
                 old_node = repos.get_node(path, rev)
Copyright (C) 2012-2017 Edgewall Software