hgext/evolve.py
branchstable
changeset 696 121e2d265e85
parent 695 7daf42959b72
child 699 dba3ed9f2c4f
--- a/hgext/evolve.py	Fri Feb 08 20:18:40 2013 +0000
+++ b/hgext/evolve.py	Fri Feb 08 20:45:18 2013 +0000
@@ -380,6 +380,9 @@
         ui.setconfig('alias', 'olog', "log -r 'precursors(.)' --hidden")
     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")
+
 
 ### Troubled revset symbol