Show More
@@ -59,7 +59,8 b' def add(ui, repo, *pats, **opts):' | |||
|
59 | 59 | if ui.verbose or not exact: |
|
60 | 60 | ui.status(_('adding %s\n') % m.rel(f)) |
|
61 | 61 | if not opts.get('dry_run'): |
|
62 |
|
|
|
62 | rejected = repo[None].add(names) | |
|
63 | bad += [f for f in rejected if f in m.files()] | |
|
63 | 64 | return bad and 1 or 0 |
|
64 | 65 | |
|
65 | 66 | def addremove(ui, repo, *pats, **opts): |
General Comments 0
You need to be logged in to leave comments.
Login now