diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py index a3dc2d3854908c84b44736ba9a8f2a72c286404c_bWVyY3VyaWFsL2NtZHV0aWwucHk=..3a7b45a0bd20ffe7e24daecd322676af18706487_bWVyY3VyaWFsL2NtZHV0aWwucHk= 100644 --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -2476,12 +2476,12 @@ # file state # action # make backup - (modified, (actions['revert'], False)), - (dsmodified, (actions['revert'], True)), - (dsadded, (actions['remove'], True)), - (removed, (actions['add'], True)), - (dsremoved, (actions['undelete'], True)), - (clean, (None, False)), + (modified, actions['revert'], False), + (dsmodified, actions['revert'], True), + (dsadded, actions['remove'], True), + (removed, actions['add'], True), + (dsremoved, actions['undelete'], True), + (clean, None, False), ) for abs, (rel, exact) in sorted(names.items()): @@ -2490,7 +2490,7 @@ # search the entry in the dispatch table. # if the file is in any of these sets, it was touched in the working # directory parent and we are sure it needs to be reverted. - for table, (xlist, dobackup) in disptable: + for table, xlist, dobackup in disptable: if abs not in table: continue if xlist is None: