# HG changeset patch # User Pierre-Yves David # Date 1345719207 -7200 # Node ID b12ff7ef35b10099215a3a74ab31dbaf88e94557 # Parent d2531a747ff59e3e65cbc308d91e67348e3ff6d7 Introduction of olog as an alias This will won't stay as such long. diff -r d2531a747ff5 -r b12ff7ef35b1 README --- a/README Thu Aug 23 12:51:06 2012 +0200 +++ b/README Thu Aug 23 12:53:27 2012 +0200 @@ -54,6 +54,7 @@ - summary now reports troubles changesets - new touch command - new fold command +- new basic olog alias - rebase refuse to work on public changeset again - rebase explicitly state that there is nothing to rebase because everything is diff -r d2531a747ff5 -r b12ff7ef35b1 hgext/obsolete.py --- a/hgext/obsolete.py Thu Aug 23 12:51:06 2012 +0200 +++ b/hgext/obsolete.py Thu Aug 23 12:53:27 2012 +0200 @@ -658,6 +658,8 @@ ui.setconfig('alias', 'pstatus', 'status --rev .^') if ui.config('alias', 'pdiff', None) is None: ui.setconfig('alias', 'pdiff', 'diff --rev .^') + if ui.config('alias', 'olog', None) is None: + ui.setconfig('alias', 'olog', "log -r 'precursors(.)' --hidden") # - "troubles" method on changectx diff -r d2531a747ff5 -r b12ff7ef35b1 tests/test-evolve.t --- a/tests/test-evolve.t Thu Aug 23 12:51:06 2012 +0200 +++ b/tests/test-evolve.t Thu Aug 23 12:53:27 2012 +0200 @@ -574,3 +574,9 @@ *** conflict + +Test olog + + $ hg olog + 6 : add 1 - test + 10 : conflict - test