hgext/eol.py
changeset 49284 d44e3c45f0e4
parent 48946 642e31cb55f0
child 49997 981d2f132935
equal deleted inserted replaced
49283:44b26349127b 49284:d44e3c45f0e4
   307 def _checkhook(ui, repo, node, headsonly):
   307 def _checkhook(ui, repo, node, headsonly):
   308     # Get revisions to check and touched files at the same time
   308     # Get revisions to check and touched files at the same time
   309     ensureenabled(ui)
   309     ensureenabled(ui)
   310     files = set()
   310     files = set()
   311     revs = set()
   311     revs = set()
   312     for rev in pycompat.xrange(repo[node].rev(), len(repo)):
   312     for rev in range(repo[node].rev(), len(repo)):
   313         revs.add(rev)
   313         revs.add(rev)
   314         if headsonly:
   314         if headsonly:
   315             ctx = repo[rev]
   315             ctx = repo[rev]
   316             files.update(ctx.files())
   316             files.update(ctx.files())
   317             for pctx in ctx.parents():
   317             for pctx in ctx.parents():