Mercurial > hg
diff mercurial/byterange.py @ 30605:c039eb03e652
convert: inline strutil.rfindall()
This is the only place where strutil is used. I don't think it's worth to
keep the strutil module, so inline it.
Also, strutil.rfindall() appears to have off-by-one error. 'end = c - 1' is
wrong because 'end' is exclusive.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 16 Oct 2016 16:58:43 +0900 |
parents | 032c4c2f802a |
children | 0fa781320203 |