mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-11 20:48:49 +00:00
hg completion: revert can restore deleted files too
This commit is contained in:
parent
cdf39ed660
commit
fb6b4b9ae5
1 changed files with 1 additions and 1 deletions
|
@ -1197,7 +1197,7 @@ end
|
|||
|
||||
# hg revert
|
||||
for cmd in rev reve rever revert
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -f -a "(__fish_hg_status -camr)"
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -f -a "(__fish_hg_status -camrd)"
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -s a -l all -d "revert all changes when no arguments given"
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -s d -l date -x -d "tipmost revision matching date"
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -s r -l rev -x -a "(__fish_hg_labels)" -d "revert to the specified revision"
|
||||
|
|
Loading…
Reference in a new issue