equal
deleted
inserted
replaced
93 raise util.Abort(m) |
93 raise util.Abort(m) |
94 ui.warn(_('warning: %s\n') % m) |
94 ui.warn(_('warning: %s\n') % m) |
95 else: |
95 else: |
96 ui.write('%s%s' % (name, eol)) |
96 ui.write('%s%s' % (name, eol)) |
97 |
97 |
98 directories = [] |
|
99 match = scmutil.match(repo[None], dirs, opts) |
98 match = scmutil.match(repo[None], dirs, opts) |
100 match.explicitdir = match.traversedir = directories.append |
99 if removedirs: |
|
100 directories = [] |
|
101 match.explicitdir = match.traversedir = directories.append |
101 status = repo.status(match=match, ignored=opts['all'], unknown=True) |
102 status = repo.status(match=match, ignored=opts['all'], unknown=True) |
102 |
103 |
103 if removefiles: |
104 if removefiles: |
104 for f in sorted(status[4] + status[5]): |
105 for f in sorted(status[4] + status[5]): |
105 if act: |
106 if act: |