Mercurial > public > mercurial-scm > hg
diff mercurial/changegroup.py @ 37084:f0b6fbea00cf
stringutil: bulk-replace call sites to point to new module
This might conflict with other patches floating around, sorry.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 22 Mar 2018 21:56:20 +0900 |
parents | 5bc7ff103081 |
children | a54113fcc8c9 |
line wrap: on
line diff
--- a/mercurial/changegroup.py Thu Mar 22 21:19:31 2018 +0900 +++ b/mercurial/changegroup.py Thu Mar 22 21:56:20 2018 +0900 @@ -28,6 +28,10 @@ util, ) +from .utils import ( + stringutil, +) + _CHANGEGROUPV1_DELTA_HEADER = "20s20s20s20s" _CHANGEGROUPV2_DELTA_HEADER = "20s20s20s20s20s" _CHANGEGROUPV3_DELTA_HEADER = ">20s20s20s20s20sH" @@ -514,7 +518,7 @@ if reorder == 'auto': reorder = None else: - reorder = util.parsebool(reorder) + reorder = stringutil.parsebool(reorder) self._repo = repo self._reorder = reorder self._progress = repo.ui.progress