comparison hgweb.cgi @ 25144:81a395447b34

revset: use 'next()' to detect end of iteration in 'limit' The 'next()' built-in can return a default value, allow to get rid of the confusing try/except code flow.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sun, 17 May 2015 17:58:39 -0700
parents 85cba926cb59
children 4b0fc75f9403
comparison
equal deleted inserted replaced
25143:91c49621b2b8 25144:81a395447b34