Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-remove @ 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 | 6a104941d56a |
children | 7544700fd931 |
rev | line source |
---|---|
936 | 1 #!/bin/sh |
2 | |
3 hg init a | |
4 cd a | |
5 echo a > foo | |
6 hg add foo | |
7 hg commit -m 1 -d "0 0" | |
8 rm foo | |
9 hg remove foo | |
10 hg commit -m 2 -d "0 0" | |
1570
6a104941d56a
hg log -p should show file deletions
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
936
diff
changeset
|
11 hg export 0 |
6a104941d56a
hg log -p should show file deletions
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
936
diff
changeset
|
12 hg export 1 |
6a104941d56a
hg log -p should show file deletions
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
936
diff
changeset
|
13 hg log -p -r 0 |
6a104941d56a
hg log -p should show file deletions
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
936
diff
changeset
|
14 hg log -p -r 1 |
936 | 15 |
16 cd .. | |
17 hg clone a b |