equal
deleted
inserted
replaced
2523 if abs not in repo.dirstate: |
2523 if abs not in repo.dirstate: |
2524 if exact: |
2524 if exact: |
2525 ui.warn(_('file not managed: %s\n') % rel) |
2525 ui.warn(_('file not managed: %s\n') % rel) |
2526 continue |
2526 continue |
2527 |
2527 |
2528 # parent is target, no changes mean no changes |
|
2529 if node == parent: |
|
2530 if exact: |
|
2531 ui.warn(_('no changes needed to %s\n') % rel) |
|
2532 continue |
|
2533 |
2528 |
2534 if not opts.get('dry_run'): |
2529 if not opts.get('dry_run'): |
2535 _performrevert(repo, parents, ctx, actions) |
2530 _performrevert(repo, parents, ctx, actions) |
2536 |
2531 |
2537 if targetsubs: |
2532 if targetsubs: |