Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHGa24c57f1f5c3: py3: use '%d' for integers instead of '%s'
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
| yuja |
| hg-reviewers |
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | mercurial/debugcommands.py (2 lines) | |||
| M | mercurial/tags.py (2 lines) |
| performance in cases where the line numbers are not needed. | performance in cases where the line numbers are not needed. | ||||
| ''' | ''' | ||||
| bintaghist = util.sortdict() | bintaghist = util.sortdict() | ||||
| hextaglines = util.sortdict() | hextaglines = util.sortdict() | ||||
| count = 0 | count = 0 | ||||
| def dbg(msg): | def dbg(msg): | ||||
| ui.debug("%s, line %s: %s\n" % (fn, count, msg)) | ui.debug("%s, line %d: %s\n" % (fn, count, msg)) | ||||
| for nline, line in enumerate(lines): | for nline, line in enumerate(lines): | ||||
| count += 1 | count += 1 | ||||
| if not line: | if not line: | ||||
| continue | continue | ||||
| try: | try: | ||||
| (nodehex, name) = line.split(" ", 1) | (nodehex, name) = line.split(" ", 1) | ||||
| except ValueError: | except ValueError: | ||||
This one is bool.