Mercurial > evolve
comparison .hg-format-source @ 5853:13b108c3782e stable
evolve: use cl.tiprev() instead of len(cl) - 1
We have this nice method of revlogs that will make code slightly easier to
read, why not use it.
Revlogs also have a .tip() method to return tip as node hash, but only in 5.3+.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 16 Mar 2021 21:25:11 +0800 |
parents | 48b30ff742cb |
children |
comparison
equal
deleted
inserted
replaced
5852:f4b762cf41c0 | 5853:13b108c3782e |
---|