##// END OF EJS Templates
revert: drop dead code for untracked files...
Pierre-Yves David -
r22237:808926c7 default
parent child Browse files
Show More
@@ -2521,14 +2521,6 b' def revert(ui, repo, ctx, parents, *pats'
2521 elif exact:
2521 elif exact:
2522 ui.warn(msg % rel)
2522 ui.warn(msg % rel)
2523 break
2523 break
2524 else:
2525 # Not touched in current dirstate.
2526
2527 # file is unknown in parent, restore older version or ignore.
2528 if abs not in repo.dirstate:
2529 if exact:
2530 ui.warn(_('file not managed: %s\n') % rel)
2531 continue
2532
2524
2533
2525
2534 if not opts.get('dry_run'):
2526 if not opts.get('dry_run'):
General Comments 0
You need to be logged in to leave comments. Login now