hgext/evolve.py
changeset 497 43e1b2cab789
parent 492 7ecd41520dae
child 507 4b1797518abe
--- a/hgext/evolve.py	Fri Aug 24 11:39:22 2012 +0200
+++ b/hgext/evolve.py	Fri Aug 24 11:52:49 2012 +0200
@@ -647,6 +647,8 @@
         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