comparison mercurial/cmdutil.py @ 6760:4faaa0535ea7

status: clean up all users for unknown files
author Matt Mackall <mpm@selenic.com>
date Fri, 27 Jun 2008 13:43:29 -0500
parents fb42030d79d6
children f67d1468ac50
comparison
equal deleted inserted replaced
6759:9d2ab50803e9 6760:4faaa0535ea7
1156 if opts.get('addremove'): 1156 if opts.get('addremove'):
1157 addremove(repo, pats, opts) 1157 addremove(repo, pats, opts)
1158 1158
1159 m = match(repo, pats, opts) 1159 m = match(repo, pats, opts)
1160 if pats: 1160 if pats:
1161 status = repo.status(match=m) 1161 modified, added, removed = repo.status(match=m)[:3]
1162 modified, added, removed, deleted, unknown = status[:5]
1163 files = modified + added + removed 1162 files = modified + added + removed
1164 slist = None 1163 slist = None
1165 for f in m.files(): 1164 for f in m.files():
1166 if f == '.': 1165 if f == '.':
1167 continue 1166 continue