Mercurial > hg
comparison contrib/churn.py @ 5975:75d9fe70c654
templater: move email function to util
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 31 Jan 2008 14:44:19 -0600 |
parents | d0576d065993 |
children | 9f1e6ab76069 |
comparison
equal
deleted
inserted
replaced
5974:bed929082b58 | 5975:75d9fe70c654 |
---|---|
67 changes = repo.status(node1, node2, None, util.always)[:5] | 67 changes = repo.status(node1, node2, None, util.always)[:5] |
68 | 68 |
69 modified, added, removed, deleted, unknown = changes | 69 modified, added, removed, deleted, unknown = changes |
70 | 70 |
71 who = repo.changelog.read(node2)[1] | 71 who = repo.changelog.read(node2)[1] |
72 who = templater.email(who) # get the email of the person | 72 who = util.email(who) # get the email of the person |
73 | 73 |
74 mmap1 = repo.manifest.read(repo.changelog.read(node1)[0]) | 74 mmap1 = repo.manifest.read(repo.changelog.read(node1)[0]) |
75 mmap2 = repo.manifest.read(repo.changelog.read(node2)[0]) | 75 mmap2 = repo.manifest.read(repo.changelog.read(node2)[0]) |
76 for f in modified: | 76 for f in modified: |
77 lines += dirtywork(f, mmap1, mmap2) | 77 lines += dirtywork(f, mmap1, mmap2) |