Caught by PyCharm.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG7a2c49a3cbae: debug: drop unused variable assignments
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
hg-reviewers |
Caught by PyCharm.
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/debugcommands.py (6 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
95459f54ffba | 2d1bdb28f9bb | Matt Harbison | Dec 27 2019, 1:24 PM |
Status | Author | Revision | |
---|---|---|---|
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 |
hex(p1), | hex(p1), | ||||
hex(p2), | hex(p2), | ||||
hex(cs), | hex(cs), | ||||
hex(deltabase), | hex(deltabase), | ||||
len(delta), | len(delta), | ||||
) | ) | ||||
) | ) | ||||
chunkdata = gen.changelogheader() | gen.changelogheader() | ||||
showchunks(b"changelog") | showchunks(b"changelog") | ||||
chunkdata = gen.manifestheader() | gen.manifestheader() | ||||
showchunks(b"manifest") | showchunks(b"manifest") | ||||
for chunkdata in iter(gen.filelogheader, {}): | for chunkdata in iter(gen.filelogheader, {}): | ||||
fname = chunkdata[b'filename'] | fname = chunkdata[b'filename'] | ||||
showchunks(fname) | showchunks(fname) | ||||
else: | else: | ||||
if isinstance(gen, bundle2.unbundle20): | if isinstance(gen, bundle2.unbundle20): | ||||
raise error.Abort(_(b'use debugbundle2 for this file')) | raise error.Abort(_(b'use debugbundle2 for this file')) | ||||
chunkdata = gen.changelogheader() | gen.changelogheader() | ||||
for deltadata in gen.deltaiter(): | for deltadata in gen.deltaiter(): | ||||
node, p1, p2, cs, deltabase, delta, flags = deltadata | node, p1, p2, cs, deltabase, delta, flags = deltadata | ||||
ui.write(b"%s%s\n" % (indent_string, hex(node))) | ui.write(b"%s%s\n" % (indent_string, hex(node))) | ||||
def _debugobsmarkers(ui, part, indent=0, **opts): | def _debugobsmarkers(ui, part, indent=0, **opts): | ||||
"""display version and markers contained in 'data'""" | """display version and markers contained in 'data'""" | ||||
opts = pycompat.byteskwargs(opts) | opts = pycompat.byteskwargs(opts) |