comparison mercurial/sshpeer.py @ 18735:716cad930691

util: generalize bytecount to unitcountfn This gives us a function we can reuse to count units of other kinds.
author Bryan O'Sullivan <bryano@fb.com>
date Thu, 28 Feb 2013 12:51:18 -0800
parents 1ac628cd7113
children 9baf4330d88f
comparison
equal deleted inserted replaced
18734:b72697653306 18735:716cad930691