Mercurial > evolve
diff hgext/evolve.py @ 752:bfdfdf731f8a
grab: update the alias for 2.8 compatibility
2.8 does not update on rebase anymore. We need to update by hand. this makes
this alias more fragile.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 15 Nov 2013 21:44:24 -0500 |
parents | a5474648a9d2 |
children | 64c6bdfd0518 |
line wrap: on
line diff
--- a/hgext/evolve.py Fri Nov 15 21:33:54 2013 -0500 +++ b/hgext/evolve.py Fri Nov 15 21:44:24 2013 -0500 @@ -381,7 +381,7 @@ if ui.config('alias', 'odiff', None) is None: ui.setconfig('alias', 'odiff', "diff --hidden --rev 'limit(precursors(.),1)' --rev .") if ui.config('alias', 'grab', None) is None: - ui.setconfig('alias', 'grab', "rebase --dest . --rev $1") + ui.setconfig('alias', 'grab', "! $HG rebase --dest . --rev $@ && $HG up tip") ### Troubled revset symbol