mercurial/cmdutil.py
changeset 22156 03a45eff9d2b
parent 22155 530390629842
child 22173 d3702a822241
equal deleted inserted replaced
22155:530390629842 22156:03a45eff9d2b
  2464             # if the file is in any of this sets, it was touched in the working
  2464             # if the file is in any of this sets, it was touched in the working
  2465             # directory parent and we are sure it needs to be reverted.
  2465             # directory parent and we are sure it needs to be reverted.
  2466             for table, (action, backup) in disptable:
  2466             for table, (action, backup) in disptable:
  2467                 if abs not in table:
  2467                 if abs not in table:
  2468                     continue
  2468                     continue
  2469                 if action is not None:
  2469                 if action is None:
       
  2470                     if exact:
       
  2471                         ui.warn(_('no changes needed to %s\n') % rel)
       
  2472 
       
  2473                 else:
  2470                     handle(action, backup)
  2474                     handle(action, backup)
  2471                 break
  2475                 break
  2472             else:
  2476             else:
  2473                 # Not touched in current dirstate.
  2477                 # Not touched in current dirstate.
  2474 
  2478