comparison mercurial/pathencode.c @ 21577:c62c5ce750ee

revert: group related data in tuple in the dispatch table The dispatch table used to be: - action if in target manifest - action if not in target manifest - make backup if in target manifest - make backup if not in target manifest We turn this into two (action, make backup) tuples. This helps both readability of the dispatch table and handling of each case. This also prepares a refactoring where the different actions we performs, whether "file is in target manifest" or not, are determined before reaching this loop.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 13 May 2014 17:28:19 -0700
parents 5f683209f5b6
children 822f46b80fa9
comparison
equal deleted inserted replaced
21576:33395a7e5527 21577:c62c5ce750ee