Introduction of olog as an alias
This will won't stay as such long.
--- 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
--- 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
--- 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