Show More
@@ -432,7 +432,8 b' remove [options] [files ...]::' | |||
|
432 | 432 | |
|
433 | 433 | This command schedules the files to be removed at the next commit. |
|
434 | 434 | This only removes files from the current branch, not from the |
|
435 | entire project history. | |
|
435 | entire project history. If the files still exist in the working | |
|
436 | directory, they will be deleted from it. | |
|
436 | 437 | |
|
437 | 438 | aliases: rm |
|
438 | 439 |
@@ -1313,6 +1313,11 b' def remove(ui, repo, pat, *pats, **opts)' | |||
|
1313 | 1313 | if okaytoremove(abs, rel, exact): |
|
1314 | 1314 | if not exact: ui.status('removing %s\n' % rel) |
|
1315 | 1315 | names.append(abs) |
|
1316 | for name in names: | |
|
1317 | try: | |
|
1318 | os.unlink(name) | |
|
1319 | except OSError, inst: | |
|
1320 | if inst.errno != errno.ENOENT: raise | |
|
1316 | 1321 | repo.remove(names) |
|
1317 | 1322 | |
|
1318 | 1323 | def revert(ui, repo, *names, **opts): |
General Comments 0
You need to be logged in to leave comments.
Login now