Mercurial > hg
changeset 22372:8da5864dcfda
revert: add more padding in the dispatch list
We are going to add more sets and some of them will have longer names. We add
padding in a standalone patch for readbility purposes.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sat, 30 Aug 2014 16:06:09 +0200 |
parents | 81ad62defef5 |
children | f6a1386d540e |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Sat Aug 30 01:48:58 2014 +0200 +++ b/mercurial/cmdutil.py Sat Aug 30 16:06:09 2014 +0200 @@ -2521,20 +2521,20 @@ ## Sets that results that will change file on disk # Modified compared to target, no local change - (modified, actions['revert'], discard), + (modified, actions['revert'], discard), # Modified compared to target, local change - (dsmodified, actions['revert'], backup), + (dsmodified, actions['revert'], backup), # Added since target - (dsadded, actions['remove'], backup), + (dsadded, actions['remove'], backup), # Removed since target, before working copy parent - (removed, actions['add'], backup), + (removed, actions['add'], backup), # Removed since targe, marked as such in working copy parent - (dsremoved, actions['undelete'], backup), + (dsremoved, actions['undelete'], backup), ## the following sets does not result in any file changes # File with no modification - (clean, actions['noop'], discard), + (clean, actions['noop'], discard), # Existing file, not tracked anywhere - (unknown, actions['unknown'], discard), + (unknown, actions['unknown'], discard), ) needdata = ('revert', 'add', 'remove', 'undelete')