Skip to content
Snippets Groups Projects
Commit 81a395447b34 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

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.
parent 91c49621b2b8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment