Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-notfound @ 1641:1ef060ae7966
bash_completion: be more careful about whitespaces
- use awk to parse the output of hg help.
- print one completion candidate per line
- print the debug commands after regular commands
(this eases the shell side of the parsing)
- don't print aliases that are simple abbreviations
(e.g. up/update, id/identify)
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 27 Jan 2006 12:10:35 +0100 |
parents | 891b6a262c4b |
children |
line wrap: on
line source
#!/bin/sh hg init echo "Is there an error message when trying to diff non-existing files?" hg diff not found echo "Is there an error message when trying to add non-existing files?" hg add not found