Mercurial > evolve
comparison hgext3rd/pullbundle.py @ 4756:22ffbbba695d
py3: use "%f" for formatting floating point number
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 12 Jul 2019 08:16:30 -0700 |
parents | 46c990705a96 |
children | ea8da5aa23c6 |
comparison
equal
deleted
inserted
replaced
4755:8664231b47ac | 4756:22ffbbba695d |
---|---|
166 else: | 166 else: |
167 start = util.timer() | 167 start = util.timer() |
168 slices = sliceoutgoing(repo, outgoing) | 168 slices = sliceoutgoing(repo, outgoing) |
169 end = util.timer() | 169 end = util.timer() |
170 msg = _('pullbundle-cache: "missing" set sliced into %d subranges ' | 170 msg = _('pullbundle-cache: "missing" set sliced into %d subranges ' |
171 'in %s seconds\n') | 171 'in %f seconds\n') |
172 repo.ui.write(msg % (len(slices), end - start)) | 172 repo.ui.write(msg % (len(slices), end - start)) |
173 for sliceid, sliceout in slices: | 173 for sliceid, sliceout in slices: |
174 makeonecgpart(newpart, repo, sliceid, sliceout, version, source, bundlecaps, | 174 makeonecgpart(newpart, repo, sliceid, sliceout, version, source, bundlecaps, |
175 filematcher, cgversions) | 175 filematcher, cgversions) |
176 | 176 |