comparison mercurial/cmdutil.py @ 21574:404ff404db79

revert: cosmetic align of the dispatch table This changeset make a minimal cosmetic change to help readability of the value in this table.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 13 May 2014 16:29:20 -0700
parents bee0e1cffdd3
children 8262c2a39ab8
comparison
equal deleted inserted replaced
21573:4af19d39706e 21574:404ff404db79
2318 # file state 2318 # file state
2319 # action if in target manifest 2319 # action if in target manifest
2320 # action if not in target manifest 2320 # action if not in target manifest
2321 # make backup if in target manifest 2321 # make backup if in target manifest
2322 # make backup if not in target manifest 2322 # make backup if not in target manifest
2323 (modified, revert, remove, True, True), 2323 (modified, revert, remove, True, True),
2324 (added, revert, remove, True, False), 2324 (added, revert, remove, True, False),
2325 (removed, undelete, None, True, False), 2325 (removed, undelete, None, True, False),
2326 (deleted, revert, remove, False, False), 2326 (deleted, revert, remove, False, False),
2327 ) 2327 )
2328 2328
2329 for abs, (rel, exact) in sorted(names.items()): 2329 for abs, (rel, exact) in sorted(names.items()):
2330 mfentry = mf.get(abs) 2330 mfentry = mf.get(abs)
2331 target = repo.wjoin(abs) 2331 target = repo.wjoin(abs)