Patchwork [3,of,4,evolve-ext] fold: add squash as a possible alias

login
register
mail settings
Submitter Jordi Gutiérrez Hermoso
Date April 12, 2014, 2:02 a.m.
Message ID <625907cf8d34b3fb8086.1397268179@Iris>
Download mbox | patch
Permalink /patch/4293/
State Not Applicable
Headers show

Comments

Jordi Gutiérrez Hermoso - April 12, 2014, 2:02 a.m.
# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh@octave.org>
# Date 1397160122 14400
#      Thu Apr 10 16:02:02 2014 -0400
# Branch stable
# Node ID 625907cf8d34b3fb8086db6131ef22724c2045be
# Parent  e7b0d54215c1e539d79f86dd2c518d2407087958
fold: add squash as a possible alias

In order to respect the habituation of the majority of DVCS users and
to make this feature more easily discoverable, the very common
"squash" terminology should be added as a synonym to "fold".

Patch

diff --git a/hgext/evolve.py b/hgext/evolve.py
--- a/hgext/evolve.py
+++ b/hgext/evolve.py
@@ -1715,7 +1715,7 @@ 
     finally:
         lockmod.release(lock, wlock)
 
-@command('^fold',
+@command('^fold|squash',
     [('r', 'rev', [], _("explicitly specify the full set of revision to fold")),
     ] + commitopts + commitopts2,
     # allow to choose the seed ?