equal
deleted
inserted
replaced
2354 holds one element, whereas the second holds three (i.e. the changeset has |
2354 holds one element, whereas the second holds three (i.e. the changeset has |
2355 been split). |
2355 been split). |
2356 """ |
2356 """ |
2357 # passed to successorssets caching computation from one call to another |
2357 # passed to successorssets caching computation from one call to another |
2358 cache = {} |
2358 cache = {} |
2359 ctx2str = str |
2359 ctx2str = bytes |
2360 node2str = short |
2360 node2str = short |
2361 for rev in scmutil.revrange(repo, revs): |
2361 for rev in scmutil.revrange(repo, revs): |
2362 ctx = repo[rev] |
2362 ctx = repo[rev] |
2363 ui.write('%s\n'% ctx2str(ctx)) |
2363 ui.write('%s\n'% ctx2str(ctx)) |
2364 for succsset in obsutil.successorssets(repo, ctx.node(), |
2364 for succsset in obsutil.successorssets(repo, ctx.node(), |