Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG580f75f70f39: py3: use '%d' to convert integers to bytes
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
if all: | if all: | ||||
ui.write(("%sformat: id, p1, p2, cset, delta base, len(delta)\n") | ui.write(("%sformat: id, p1, p2, cset, delta base, len(delta)\n") | ||||
% indent_string) | % indent_string) | ||||
def showchunks(named): | def showchunks(named): | ||||
ui.write("\n%s%s\n" % (indent_string, named)) | ui.write("\n%s%s\n" % (indent_string, named)) | ||||
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("%s%s %s %s %s %s %s\n" % | ui.write("%s%s %s %s %s %s %d\n" % | ||||
(indent_string, hex(node), hex(p1), hex(p2), | (indent_string, hex(node), hex(p1), hex(p2), | ||||
hex(cs), hex(deltabase), len(delta))) | hex(cs), hex(deltabase), len(delta))) | ||||
chunkdata = gen.changelogheader() | chunkdata = gen.changelogheader() | ||||
showchunks("changelog") | showchunks("changelog") | ||||
chunkdata = gen.manifestheader() | chunkdata = gen.manifestheader() | ||||
showchunks("manifest") | showchunks("manifest") | ||||
for chunkdata in iter(gen.filelogheader, {}): | for chunkdata in iter(gen.filelogheader, {}): |