revset: use 'next()' to detect end of iteration in 'last'
The 'next()' built-in can return a default value, allow to get rid of the confusing try/except code flow.
Loading
Please register or sign in to comment
The 'next()' built-in can return a default value, allow to get rid of the confusing try/except code flow.