rebase: change and standarize template for rebase's one-line summary
This removes the default template in rebase and switches to a centrally defined template. I've simplified it a bit to avoid the conditional parenthesis. I've also added labels so the different parts can be easily colored. The template is somewhat similar to what we've used internally at Google for a few years. I'm happy to change the template if others have opinions. Should we reuse the `color.log.` names as I have? Differential Revision: https://phab.mercurial-scm.org/D9252
Showing
- hgext/rebase.py 1 addition, 6 deletionshgext/rebase.py
- mercurial/cmdutil.py 10 additions, 2 deletionsmercurial/cmdutil.py
- tests/test-absorb-unfinished.t 1 addition, 1 deletiontests/test-absorb-unfinished.t
- tests/test-audit-path.t 1 addition, 1 deletiontests/test-audit-path.t
- tests/test-bookmarks-rebase.t 3 additions, 3 deletionstests/test-bookmarks-rebase.t
- tests/test-copies-in-changeset.t 1 addition, 1 deletiontests/test-copies-in-changeset.t
- tests/test-copies.t 2 additions, 2 deletionstests/test-copies.t
- tests/test-copy-move-merge.t 3 additions, 3 deletionstests/test-copy-move-merge.t
- tests/test-copytrace-heuristics.t 13 additions, 13 deletionstests/test-copytrace-heuristics.t
- tests/test-dirstate-race.t 1 addition, 1 deletiontests/test-dirstate-race.t
- tests/test-fix.t 1 addition, 1 deletiontests/test-fix.t
- tests/test-infinitepush-ci.t 1 addition, 1 deletiontests/test-infinitepush-ci.t
- tests/test-largefiles-update.t 1 addition, 1 deletiontests/test-largefiles-update.t
- tests/test-narrow-copies.t 1 addition, 1 deletiontests/test-narrow-copies.t
- tests/test-narrow-rebase.t 4 additions, 4 deletionstests/test-narrow-rebase.t
- tests/test-obsmarkers-effectflag.t 1 addition, 1 deletiontests/test-obsmarkers-effectflag.t
- tests/test-rebase-abort.t 5 additions, 5 deletionstests/test-rebase-abort.t
- tests/test-rebase-base-flag.t 43 additions, 43 deletionstests/test-rebase-base-flag.t
- tests/test-rebase-bookmarks.t 10 additions, 10 deletionstests/test-rebase-bookmarks.t
- tests/test-rebase-cache.t 3 additions, 3 deletionstests/test-rebase-cache.t
Loading
Please register or sign in to comment