mercurial/hgweb/webcommands.py
changeset 7565 5f162f61e479
parent 7434 cf7741aa1e96
child 7612 069b29656401
--- a/mercurial/hgweb/webcommands.py	Sat Jan 03 20:16:10 2009 +0100
+++ b/mercurial/hgweb/webcommands.py	Sun Jan 04 19:10:42 2009 +0100
@@ -292,7 +292,7 @@
                     break
             h[None] = None # denotes files present
 
-    if not files and not dirs:
+    if mf and not files and not dirs:
         raise ErrorResponse(HTTP_NOT_FOUND, 'path not found: ' + path)
 
     def filelist(**map):