Show More
@@ -850,15 +850,14 b' def addremove(repo, matcher, prefix, opt' | |||
|
850 | 850 | % join(subpath)) |
|
851 | 851 | |
|
852 | 852 | rejected = [] |
|
853 | origbad = m.bad | |
|
854 | 853 | def badfn(f, msg): |
|
855 | 854 | if f in m.files(): |
|
856 |
|
|
|
855 | m.bad(f, msg) | |
|
857 | 856 | rejected.append(f) |
|
858 | 857 | |
|
859 | m.bad = badfn | |
|
860 |
added, unknown, deleted, removed, forgotten = _interestingfiles(repo, |
|
|
861 | m.bad = origbad | |
|
858 | badmatch = matchmod.badmatch(m, badfn) | |
|
859 | added, unknown, deleted, removed, forgotten = _interestingfiles(repo, | |
|
860 | badmatch) | |
|
862 | 861 | |
|
863 | 862 | unknownset = set(unknown + forgotten) |
|
864 | 863 | toprint = unknownset.copy() |
General Comments 0
You need to be logged in to leave comments.
Login now