Patchwork [2,of,7] revert: cosmetic align of the dispatch table

login
register
mail settings
Submitter Pierre-Yves David
Date May 19, 2014, 3:58 p.m.
Message ID <4e99a4c765f591a01ed1.1400515081@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/4798/
State Accepted
Commit 404ff404db796ea97944089dc03d60c942291a66
Headers show

Comments

Pierre-Yves David - May 19, 2014, 3:58 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1400023760 25200
#      Tue May 13 16:29:20 2014 -0700
# Node ID 4e99a4c765f591a01ed1ef190823344d2025e144
# Parent  bf97b13adc66b73cac73fe5e4135eac8822a110c
revert: cosmetic align of the dispatch table

This changeset make a minimal cosmetic change to help readability of the value
in this table.

Patch

diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -2308,14 +2308,14 @@  def revert(ui, repo, ctx, parents, *pats
             #   file state
             #   action if in target manifest
             #   action if not in target manifest
             #   make backup if in target manifest
             #   make backup if not in target manifest
-            (modified, revert, remove, True, True),
-            (added, revert, remove, True, False),
-            (removed, undelete, None, True, False),
-            (deleted, revert, remove, False, False),
+            (modified, revert,   remove, True,  True),
+            (added,    revert,   remove, True,  False),
+            (removed,  undelete, None,   True,  False),
+            (deleted,  revert,   remove, False, False),
             )
 
         for abs, (rel, exact) in sorted(names.items()):
             mfentry = mf.get(abs)
             target = repo.wjoin(abs)