comparison mercurial/cmdutil.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 b822a379860b
children 2cbe0f72c379
comparison
equal deleted inserted replaced
6602:a57a27b12965 6603:41eb20cc1c02
1151 if opts.get('addremove'): 1151 if opts.get('addremove'):
1152 addremove(repo, pats, opts) 1152 addremove(repo, pats, opts)
1153 1153
1154 m = match(repo, pats, opts) 1154 m = match(repo, pats, opts)
1155 if pats: 1155 if pats:
1156 status = repo.status(files=m.files(), match=m) 1156 status = repo.status(match=m)
1157 modified, added, removed, deleted, unknown = status[:5] 1157 modified, added, removed, deleted, unknown = status[:5]
1158 files = modified + added + removed 1158 files = modified + added + removed
1159 slist = None 1159 slist = None
1160 for f in m.files(): 1160 for f in m.files():
1161 if f == '.': 1161 if f == '.':