Mercurial > hg
comparison mercurial/hgweb/hgweb_mod.py @ 2876:cf86bbb8ed68
hgweb: repo.changes() is now called repo.status()
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Sun, 13 Aug 2006 18:01:44 +0300 |
parents | 4ec58b157265 |
children | 3848488244fc 26c37ebda1bb |
comparison
equal
deleted
inserted
replaced
2875:3d6efcbbd1c9 | 2876:cf86bbb8ed68 |
---|---|
127 mmap1 = mf.read(change1[0]) | 127 mmap1 = mf.read(change1[0]) |
128 mmap2 = mf.read(change2[0]) | 128 mmap2 = mf.read(change2[0]) |
129 date1 = util.datestr(change1[2]) | 129 date1 = util.datestr(change1[2]) |
130 date2 = util.datestr(change2[2]) | 130 date2 = util.datestr(change2[2]) |
131 | 131 |
132 modified, added, removed, deleted, unknown = r.changes(node1, node2) | 132 modified, added, removed, deleted, unknown = r.status(node1, node2)[:5] |
133 if files: | 133 if files: |
134 modified, added, removed = map(lambda x: filterfiles(files, x), | 134 modified, added, removed = map(lambda x: filterfiles(files, x), |
135 (modified, added, removed)) | 135 (modified, added, removed)) |
136 | 136 |
137 diffopts = ui.diffopts() | 137 diffopts = ui.diffopts() |