Show More
@@ -2329,9 +2329,12 b' def revert(ui, repo, *pats, **opts):' | |||
|
2329 | 2329 | checkout(f) |
|
2330 | 2330 | repo.dirstate.add(f) |
|
2331 | 2331 | |
|
2332 | normal = repo.dirstate.normallookup | |
|
2333 | if node == parent and p2 == nullid: | |
|
2334 | normal = repo.dirstate.normal | |
|
2332 | 2335 | for f in undelete[0]: |
|
2333 | 2336 | checkout(f) |
|
2334 |
|
|
|
2337 | normal(f) | |
|
2335 | 2338 | |
|
2336 | 2339 | audit_path = util.path_auditor(repo.root) |
|
2337 | 2340 | for f in remove[0]: |
General Comments 0
You need to be logged in to leave comments.
Login now