def fileinfo(self, path=None): fctx = self._filectx(path) return webcommands._filerevision(self, _t, fctx)
def fileinfo(self, rev=None, path=None): hw = hgweb(self._repo) fctx = self._filectx(rev, path) return webcommands._filerevision(hw, _t, fctx)