Mercurial > evolve
diff docs/README @ 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 | ef361938dfa1 |
children |