Show More
@@ -2102,10 +2102,7 b' def _debugchangegroup(ui, gen, all=None,' | |||
|
2102 | 2102 | def showchunks(named): |
|
2103 | 2103 | ui.write("\n%s%s\n" % (indent_string, named)) |
|
2104 | 2104 | chain = None |
|
2105 | while True: | |
|
2106 | chunkdata = gen.deltachunk(chain) | |
|
2107 | if not chunkdata: | |
|
2108 | break | |
|
2105 | for chunkdata in iter(lambda: gen.deltachunk(chain), {}): | |
|
2109 | 2106 | node = chunkdata['node'] |
|
2110 | 2107 | p1 = chunkdata['p1'] |
|
2111 | 2108 | p2 = chunkdata['p2'] |
@@ -2121,10 +2118,7 b' def _debugchangegroup(ui, gen, all=None,' | |||
|
2121 | 2118 | showchunks("changelog") |
|
2122 | 2119 | chunkdata = gen.manifestheader() |
|
2123 | 2120 | showchunks("manifest") |
|
2124 | while True: | |
|
2125 | chunkdata = gen.filelogheader() | |
|
2126 | if not chunkdata: | |
|
2127 | break | |
|
2121 | for chunkdata in iter(gen.filelogheader, {}): | |
|
2128 | 2122 | fname = chunkdata['filename'] |
|
2129 | 2123 | showchunks(fname) |
|
2130 | 2124 | else: |
@@ -2132,10 +2126,7 b' def _debugchangegroup(ui, gen, all=None,' | |||
|
2132 | 2126 | raise error.Abort(_('use debugbundle2 for this file')) |
|
2133 | 2127 | chunkdata = gen.changelogheader() |
|
2134 | 2128 | chain = None |
|
2135 | while True: | |
|
2136 | chunkdata = gen.deltachunk(chain) | |
|
2137 | if not chunkdata: | |
|
2138 | break | |
|
2129 | for chunkdata in iter(lambda: gen.deltachunk(chain), {}): | |
|
2139 | 2130 | node = chunkdata['node'] |
|
2140 | 2131 | ui.write("%s%s\n" % (indent_string, hex(node))) |
|
2141 | 2132 | chain = node |
General Comments 0
You need to be logged in to leave comments.
Login now