# HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1495172417 25200 # Node ID 80b5fc054219d17f33c3d2fda6d46d3c5fe9908a # Parent 0fa7971071b1157dcab00e2c6992746ffd5bb8b6 evolve: adding longer aliases for olog Novice users will likely find the longer versions more obvious to understand what they're doing (olog only makes sense once you already know what it does). Especially on the help page, "obslog" will be easier to find and make sense of. diff -r 0fa7971071b1 -r 80b5fc054219 README --- a/README Fri May 19 11:16:22 2017 +0200 +++ b/README Thu May 18 22:40:17 2017 -0700 @@ -112,6 +112,11 @@ Changelog ========= +6.2.3 - in progress +------------------- + + - olog: add an 'obslog' alias + 6.2.0 -- 2017-05-18 ------------------- diff -r 0fa7971071b1 -r 80b5fc054219 hgext3rd/evolve/obshistory.py --- a/hgext3rd/evolve/obshistory.py Fri May 19 11:16:22 2017 +0200 +++ b/hgext3rd/evolve/obshistory.py Thu May 18 22:40:17 2017 -0700 @@ -25,7 +25,7 @@ eh = exthelper.exthelper() @eh.command( - 'olog', + 'obslog|olog', [('G', 'graph', True, _("show the revision DAG")), ('r', 'rev', [], _('show the specified revision or revset'), _('REV')) ] + commands.formatteropts, diff -r 0fa7971071b1 -r 80b5fc054219 tests/test-evolve-obshistory.t --- a/tests/test-evolve-obshistory.t Fri May 19 11:16:22 2017 +0200 +++ b/tests/test-evolve-obshistory.t Thu May 18 22:40:17 2017 -0700 @@ -59,7 +59,7 @@ x 471f378eab4c (1) A0 rewritten by test (*20*) as 4ae3a4151de9 (glob) - $ hg olog 4ae3a4151de9 --no-graph -Tjson | python -m json.tool + $ hg obslog 4ae3a4151de9 --no-graph -Tjson | python -m json.tool [ { "debugobshistory.markers": [], @@ -86,7 +86,7 @@ "debugobshistory.shortdescription": "A0" } ] - $ hg olog --hidden 471f378eab4c + $ hg obslog --hidden 471f378eab4c x 471f378eab4c (1) A0 rewritten by test (*20*) as 4ae3a4151de9 (glob)