equal
deleted
inserted
replaced
467 ui.pushbuffer() |
467 ui.pushbuffer() |
468 data = '' |
468 data = '' |
469 count = 0 |
469 count = 0 |
470 author = '' |
470 author = '' |
471 if hooktype == 'changegroup' or hooktype == 'outgoing': |
471 if hooktype == 'changegroup' or hooktype == 'outgoing': |
472 start, end = ctx.rev(), len(repo) |
472 for rev in repo.changelog.revs(start=ctx.rev()): |
473 for rev in xrange(start, end): |
|
474 if n.node(repo[rev]): |
473 if n.node(repo[rev]): |
475 count += 1 |
474 count += 1 |
476 if not author: |
475 if not author: |
477 author = repo[rev].user() |
476 author = repo[rev].user() |
478 else: |
477 else: |