Mercurial > hg-stable
changeset 16769:e406b9656da3
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 21 May 2012 17:35:28 -0500 |
parents | 363bde4224c8 (current diff) 23a125545c3d (diff) |
children | b3435385f99f |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Fri May 18 13:50:02 2012 -0300 +++ b/mercurial/util.py Mon May 21 17:35:28 2012 -0500 @@ -1186,7 +1186,7 @@ for multiplier, divisor, format in _byteunits: if nbytes >= divisor * multiplier: return format % (nbytes / float(divisor)) - return units[-1][2] % nbytes + return _byteunits[-1][2] % nbytes def uirepr(s): # Avoid double backslash in Windows path repr()