[PATCH 3 of 4 evolve-ext] fold: add squash as a possible alias
Jordi Gutiérrez Hermoso
jordigh at octave.org
Fri Apr 11 21:02:59 CDT 2014
# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh at 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".
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)
- at command('^fold',
+ at command('^fold|squash',
[('r', 'rev', [], _("explicitly specify the full set of revision to fold")),
] + commitopts + commitopts2,
# allow to choose the seed ?
More information about the Mercurial-devel
mailing list