Show More
@@ -570,15 +570,15 b' def _checkunknownfiles(repo, wctx, mctx,' | |||||
570 | files. For some actions, the result is to abort; for others, it is to |
|
570 | files. For some actions, the result is to abort; for others, it is to | |
571 | choose a different action. |
|
571 | choose a different action. | |
572 | """ |
|
572 | """ | |
573 |
conflicts = |
|
573 | conflicts = set() | |
574 | if not force: |
|
574 | if not force: | |
575 | for f, (m, args, msg) in actions.iteritems(): |
|
575 | for f, (m, args, msg) in actions.iteritems(): | |
576 | if m in ('c', 'dc'): |
|
576 | if m in ('c', 'dc'): | |
577 | if _checkunknownfile(repo, wctx, mctx, f): |
|
577 | if _checkunknownfile(repo, wctx, mctx, f): | |
578 |
conflicts.a |
|
578 | conflicts.add(f) | |
579 | elif m == 'dg': |
|
579 | elif m == 'dg': | |
580 | if _checkunknownfile(repo, wctx, mctx, f, args[0]): |
|
580 | if _checkunknownfile(repo, wctx, mctx, f, args[0]): | |
581 |
conflicts.a |
|
581 | conflicts.add(f) | |
582 |
|
582 | |||
583 | for f in sorted(conflicts): |
|
583 | for f in sorted(conflicts): | |
584 | repo.ui.warn(_("%s: untracked file differs\n") % f) |
|
584 | repo.ui.warn(_("%s: untracked file differs\n") % f) |
General Comments 0
You need to be logged in to leave comments.
Login now