equal
deleted
inserted
replaced
2478 handle(remove, False) |
2478 handle(remove, False) |
2479 |
2479 |
2480 if not opts.get('dry_run'): |
2480 if not opts.get('dry_run'): |
2481 def checkout(f): |
2481 def checkout(f): |
2482 fc = ctx[f] |
2482 fc = ctx[f] |
2483 repo.wwrite(f, fc.data(), fc.fileflags()) |
2483 repo.wwrite(f, fc.data(), fc.flags()) |
2484 |
2484 |
2485 audit_path = util.path_auditor(repo.root) |
2485 audit_path = util.path_auditor(repo.root) |
2486 for f in remove[0]: |
2486 for f in remove[0]: |
2487 if repo.dirstate[f] == 'a': |
2487 if repo.dirstate[f] == 'a': |
2488 repo.dirstate.forget(f) |
2488 repo.dirstate.forget(f) |