mercurial/debugcommands.py
changeset 36123 8eb13f5d5d3f
parent 35929 5f029d03cf71
child 36153 72d155a792b1
equal deleted inserted replaced
36122:7db243288afb 36123:8eb13f5d5d3f
  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(),