--- a/mercurial/hgweb/hgwebdir_mod.py Thu May 14 17:28:26 2009 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py Thu May 14 15:24:36 2009 +0200
@@ -78,12 +78,12 @@
self.repos.append((name, path))
for prefix, root in self.ui.configitems('collections'):
- for path in util.walkrepos(root, followsym=True):
- repo = os.path.normpath(path)
- name = repo
- if name.startswith(prefix):
- name = name[len(prefix):]
- self.repos.append((name.lstrip(os.sep), repo))
+ for path in util.walkrepos(root, followsym=True):
+ repo = os.path.normpath(path)
+ name = repo
+ if name.startswith(prefix):
+ name = name[len(prefix):]
+ self.repos.append((name.lstrip(os.sep), repo))
self.repos.sort()
self.lastrefresh = time.time()
--- a/mercurial/templatefilters.py Thu May 14 17:28:26 2009 +0200
+++ b/mercurial/templatefilters.py Thu May 14 15:24:36 2009 +0200
@@ -172,7 +172,7 @@
return dir
def nonempty(str):
- return str or "(none)"
+ return str or "(none)"
filters = {
"addbreaks": nl2br,