From 7c2933f3c3812215b6587bdda8c01268c6450d16 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 5 Feb 2020 14:41:20 +0000 Subject: [PATCH] Support hgwhat alias Support a Mercurial alias for listing the files that have changed on a particular branch. This commit is particularly noisy because I reformatted the above aliases to align with the new width. --- configs/shared/.config/fish/config.fish | 29 +++++++++++++------------ 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/configs/shared/.config/fish/config.fish b/configs/shared/.config/fish/config.fish index 20de7a7f7..84528d60c 100644 --- a/configs/shared/.config/fish/config.fish +++ b/configs/shared/.config/fish/config.fish @@ -222,20 +222,21 @@ abbr --add gst 'git status && hub pr list' # Mercurial counterparts. Some may map 1:1, others may be like putting a square # peg into a round hole. I will try and use my best judgement in these cases # while erring on the side of unifying the two APIs. -abbr --add hgst hg status -abbr --add hglp hg xl -abbr --add hgp hg uploadchain # this is like `git push` -abbr --add hga hg add -abbr --add hgc hg commit -abbr --add hgcan hg amend # like `git commit --amend --no-edit' -abbr --add hgpr hg mail -r . -m # this may be similar to `hub pull-request` -abbr --add hgd hg diff -abbr --add hgsh hg export -abbr --add hgco hg update -abbr --add hgls hg citc --list # should have different output from `pils` -abbr --add hgrc hg rebase --continue -abbr --add hgra hg rebase --abort -abbr --add hgrm hg citc -d # delete a CitC client created with Fig +abbr --add hgst hg status +abbr --add hglp hg xl +abbr --add hgp hg uploadchain # this is like `git push` +abbr --add hga hg add +abbr --add hgc hg commit +abbr --add hgcan hg amend # like `git commit --amend --no-edit' +abbr --add hgpr hg mail -r . -m # this may be similar to `hub pull-request` +abbr --add hgd hg diff +abbr --add hgsh hg export +abbr --add hgco hg update +abbr --add hgls hg citc --list # should have different output from `pils` +abbr --add hgrc hg rebase --continue +abbr --add hgra hg rebase --abort +abbr --add hgrm hg citc -d # delete a CitC client created with Fig +abbr --add hgwhat 'hg status --rev p4base:(hg id -i)' abbr --add hgconflicts hg resolve --list 'set:unresolved()' # much like `gconflicts` # Haskell