Submitter | Ahmed S. Darwish |
---|---|
Date | July 1, 2013, 4:30 p.m. |
Message ID | <20130701163041.GB10595@darwish> |
Download | mbox | patch |
Permalink | /patch/1777/ |
State | Changes Requested, archived |
Headers | show |
Comments
Patch
diff -r c1aa2fdfc7b7 -r 97c5442d88a5 contrib/bash_completion --- a/contrib/bash_completion Mon Jul 01 18:13:30 2013 +0200 +++ b/contrib/bash_completion Mon Jul 01 18:15:08 2013 +0200 @@ -255,7 +255,11 @@ _hg_debugpathcomplete -fa ;; diff) - _hg_status "mar" + if [[ "$prev" = @(-o|--output) ]]; then + _hg_status "u" + else + _hg_status "mar" + fi ;; revert) _hg_debugpathcomplete