Mercurial > hg
comparison hgext/hgk.py @ 6603:41eb20cc1c02
match: remove files arg from repo.status and friends
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 May 2008 11:37:08 -0500 |
parents | a57a27b12965 |
children | e9dfe4e3ee6f |
comparison
equal
deleted
inserted
replaced
6602:a57a27b12965 | 6603:41eb20cc1c02 |
---|---|
54 def __difftree(repo, node1, node2, files=[]): | 54 def __difftree(repo, node1, node2, files=[]): |
55 assert node2 is not None | 55 assert node2 is not None |
56 mmap = repo.changectx(node1).manifest() | 56 mmap = repo.changectx(node1).manifest() |
57 mmap2 = repo.changectx(node2).manifest() | 57 mmap2 = repo.changectx(node2).manifest() |
58 m = cmdutil.matchfiles(repo, files) | 58 m = cmdutil.matchfiles(repo, files) |
59 status = repo.status(node1, node2, files=m.files(), match=m)[:5] | 59 status = repo.status(node1, node2, match=m)[:5] |
60 modified, added, removed, deleted, unknown = status | 60 modified, added, removed, deleted, unknown = status |
61 | 61 |
62 empty = short(nullid) | 62 empty = short(nullid) |
63 | 63 |
64 for f in modified: | 64 for f in modified: |