# HG changeset patch # User Pierre-Yves David # Date 1409407569 -7200 # Node ID 8da5864dcfda574197de9a2d66c55dcebaf51a56 # Parent 81ad62defef52231c42bf8f603c4df17351f7daa 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. diff -r 81ad62defef5 -r 8da5864dcfda mercurial/cmdutil.py --- 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')