Submitter | Ahmed S. Darwish |
---|---|
Date | June 28, 2013, 8:28 p.m. |
Message ID | <20130628202818.GA6545@Darwish.PC> |
Download | mbox | patch |
Permalink | /patch/1757/ |
State | Superseded |
Headers | show |
Comments
Patch
diff -r 3466620d7f96 -r d170fb7198f2 contrib/bash_completion --- a/contrib/bash_completion Fri Jun 28 21:50:51 2013 +0200 +++ b/contrib/bash_completion Fri Jun 28 21:52:23 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