# HG changeset patch # User Mathias De Mare # Date 1680897698 -7200 # Node ID f06ba91ae68ee93d466f25bd678c01420856e5cd # Parent e41b99cec0c28501bfcd0110f5944e677bee7a1a evolve: add obsdiff as alternative for odiff diff -r e41b99cec0c2 -r f06ba91ae68e hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Wed Mar 29 20:36:58 2023 -0300 +++ b/hgext3rd/evolve/__init__.py Fri Apr 07 22:01:38 2023 +0200 @@ -490,9 +490,14 @@ @eh.uisetup def _installalias(ui): + odiffalias = b"diff --hidden --rev 'limit(predecessors(.),1)' --rev ." if ui.config(b'alias', b'odiff', None) is None: ui.setconfig(b'alias', b'odiff', - b"diff --hidden --rev 'limit(predecessors(.),1)' --rev .", + odiffalias, + b'evolve') + if ui.config(b'alias', b'obsdiff', None) is None: + ui.setconfig(b'alias', b'obsdiff', + odiffalias, b'evolve') #####################################################################