Mercurial > hg
view mercurial/templates/rss/map @ 22814:8110405cf8ae
revset-limit: use boolean testing instead of `len(revs) < 1`
I'm not sure why we wrote it that way. But smartsets have faster/lazier non-zero
testing than length computation.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 06 Oct 2014 11:43:32 -0700 |
parents | 19ee4923a2b6 |
children |
line wrap: on
line source
default = 'changelog' mimetype = 'text/xml; charset={encoding}' header = header.tmpl changelog = changelog.tmpl changelogentry = changelogentry.tmpl filelog = filelog.tmpl filelogentry = filelogentry.tmpl tags = tags.tmpl tagentry = tagentry.tmpl bookmarks = bookmarks.tmpl bookmarkentry = bookmarkentry.tmpl branches = branches.tmpl branchentry = branchentry.tmpl error = error.tmpl filedifflink = '{file|escape}<br />' fileellipses = '{file|escape}<br />' filenodelink = '{file|escape}<br />' filenolink = '{file|escape}<br />'