Show More
@@ -185,7 +185,8 b' def addremove(repo, pats=[], opts={}, wl' | |||||
185 | mapping[abs] = rel, exact |
|
185 | mapping[abs] = rel, exact | |
186 | if repo.ui.verbose or not exact: |
|
186 | if repo.ui.verbose or not exact: | |
187 | repo.ui.status(_('adding %s\n') % ((pats and rel) or abs)) |
|
187 | repo.ui.status(_('adding %s\n') % ((pats and rel) or abs)) | |
188 | if repo.dirstate.state(abs) != 'r' and not os.path.exists(rel): |
|
188 | islink = os.path.islink(rel) | |
|
189 | if repo.dirstate.state(abs) != 'r' and not islink and not os.path.exists(rel): | |||
189 | remove.append(abs) |
|
190 | remove.append(abs) | |
190 | mapping[abs] = rel, exact |
|
191 | mapping[abs] = rel, exact | |
191 | if repo.ui.verbose or not exact: |
|
192 | if repo.ui.verbose or not exact: |
General Comments 0
You need to be logged in to leave comments.
Login now