Mercurial > hg
diff mercurial/pushkey.py @ 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 | b1d694d3975e |
children | 7b200566e474 |