Unverified Commit 717ece07 authored by TheTechRobo's avatar TheTechRobo Committed by GitHub

feat(mercurial): add `hg log` aliases (#9979)

Co-authored-by: 's avatarMichał Kielan <kielanm@fb.com>
parent d304635b
...@@ -30,7 +30,8 @@ plugins=(... mercurial) ...@@ -30,7 +30,8 @@ plugins=(... mercurial)
| `hgl` | `hg pull -u` | | `hgl` | `hg pull -u` |
| `hglr` | `hg pull --rebase` | | `hglr` | `hg pull --rebase` |
| `hgo` | `hg outgoing` | | `hgo` | `hg outgoing` |
| `hglg` | `hg log --stat -v` |
| `hglgp`| `hg log --stat -p -v` |
## Prompt usage ## Prompt usage
- Switch to a theme which uses `hg_prompt_info` - Switch to a theme which uses `hg_prompt_info`
......
...@@ -17,6 +17,8 @@ alias hgi='hg incoming' ...@@ -17,6 +17,8 @@ alias hgi='hg incoming'
alias hgl='hg pull -u' alias hgl='hg pull -u'
alias hglr='hg pull --rebase' alias hglr='hg pull --rebase'
alias hgo='hg outgoing' alias hgo='hg outgoing'
alias hglg='hg log --stat -v'
alias hglgp='hg log --stat -p -v'
function in_hg() { function in_hg() {
if $(hg branch > /dev/null 2>&1); then if $(hg branch > /dev/null 2>&1); then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment