Commits

Pierre-Yves David committed 43e1b2c

evolve: add the odiff alias

Comments (0)

Files changed (2)

 # needed by evolve
 hgext.rebase=
 evolve=XXXREPOPATHXXX/hgext/evolve.py
-
-
-[alias]
-### useful alias to check future amend result
-# equivalent to the qdiff command for mq
-
-# diff with the previous amend
-odiff=diff --rev 'limit(precursors(.),1)' --rev .
 EOF
 
 cat << EOF >&2
         ui.setconfig('alias', 'pdiff', 'diff --rev .^')
     if ui.config('alias', 'olog', None) is None:
         ui.setconfig('alias', 'olog', "log -r 'precursors(.)' --hidden")
+    if ui.config('alias', 'odiff', None) is None:
+        ui.setconfig('alias', 'odiff', "diff --rev 'limit(precursors(.),1)' --rev .")
 
 # - "troubles" method on changectx