Submitter | Sean Farley |
---|---|
Date | Nov. 22, 2013, 8:26 p.m. |
Message ID | <f482b32a900ed2c9ff19.1385151968@laptop.local> |
Download | mbox | patch |
Permalink | /patch/3099/ |
State | Superseded |
Commit | da8fb88bd757f9e89d02c5a8a5f2391034c20294 |
Headers | show |
Comments
Patch
diff --git a/contrib/bash_completion b/contrib/bash_completion --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -602,11 +602,15 @@ COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$shelves' -- "$cur")) } _hg_cmd_shelve() { - _hg_status "mard" + if [[ "$prev" = @(-d|--delete) ]]; then + _hg_shelves + else + _hg_status "mard" + fi } _hg_cmd_unshelve() { _hg_shelves