mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 07:35:43 +08:00
hg completion: revert can restore deleted files too
This commit is contained in:
parent
cdf39ed660
commit
fb6b4b9ae5
@ -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…
x
Reference in New Issue
Block a user