equal
deleted
inserted
replaced
409 repo.hook("incoming", **pycompat.strkwargs(args)) |
409 repo.hook("incoming", **pycompat.strkwargs(args)) |
410 |
410 |
411 newheads = [h for h in repo.heads() |
411 newheads = [h for h in repo.heads() |
412 if h not in oldheads] |
412 if h not in oldheads] |
413 repo.ui.log("incoming", |
413 repo.ui.log("incoming", |
414 "%s incoming changes - new heads: %s\n", |
414 "%d incoming changes - new heads: %s\n", |
415 len(added), |
415 len(added), |
416 ', '.join([hex(c[:6]) for c in newheads])) |
416 ', '.join([hex(c[:6]) for c in newheads])) |
417 |
417 |
418 tr.addpostclose('changegroup-runhooks-%020i' % clstart, |
418 tr.addpostclose('changegroup-runhooks-%020i' % clstart, |
419 lambda tr: repo._afterlock(runhooks)) |
419 lambda tr: repo._afterlock(runhooks)) |