Mercurial > evolve
changeset 6484:f06ba91ae68e
evolve: add obsdiff as alternative for odiff
author | Mathias De Mare <mathias.de_mare@nokia.com> |
---|---|
date | Fri, 07 Apr 2023 22:01:38 +0200 |
parents | e41b99cec0c2 |
children | 623517b1d83b |
files | hgext3rd/evolve/__init__.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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') #####################################################################