comparison mercurial/encoding.py @ 32656:4bec8cce6a09

scmutil: pass ctx object to intrev() This makes it slightly easier to sort basectx objects by key=scmutil.intrev. We're most likely to have ctx objects where changectx/workingctx abstraction is necessary, so this won't increase the abstraction overhead.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 03 Jun 2017 18:57:28 +0900
parents 044f3d7eb9ae
children ce96efec8112
comparison
equal deleted inserted replaced
32655:7dab4c0cdb41 32656:4bec8cce6a09