mercurial/hgweb/hgwebdir_mod.py
branchstable
changeset 12038 9617803b1acb
parent 11677 8f8a7976f4bc
child 12690 94e7bd38d9a3
--- a/mercurial/hgweb/hgwebdir_mod.py	Wed Aug 25 13:29:46 2010 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Tue Aug 24 23:30:51 2010 +0900
@@ -233,6 +233,10 @@
                 # update time with local timezone
                 try:
                     r = hg.repository(self.ui, path)
+                except error.RepoError:
+                    u.warn(_('error accessing repository at %s\n') % path)
+                    continue
+                try:
                     d = (get_mtime(r.spath), util.makedate()[1])
                 except OSError:
                     continue