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

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.
parent 81a395447b34
No related branches found
No related tags found
No related merge requests found
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