Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-rawcommit1.out @ 916:fe094cca9915
Add bash_completion to contrib
Contributed by "Alexis S. L. Carvalho" <alexis@cecm.usp.br>
Attached is a file that implements bash completion for hg. Just
reading it from your .bashrc should be enough to use it - I think: I'm
using the /etc/bash_completion from debian and I'm not sure whether it
sets some important option.
It gets the list of commands, aliases and options from the output of hg
help and then adds some specific stuff - e.g. completing update with
tags; pull and push with path aliases and directories, etc.
author | mpm@selenic.com |
---|---|
date | Tue, 16 Aug 2005 14:17:27 -0800 |
parents | 0902ffece4b4 |
children | 5a034646e472 |
rev | line source |
---|---|
591 | 1 + hg --debug init |
2 + hg add a | |
801
1f9ec150a476
Updated output of tests.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
3 + hg commit -m0 -d 0 0 |
591 | 4 + hg add b |
801
1f9ec150a476
Updated output of tests.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
5 + hg commit -m1 -d 0 0 |
591 | 6 + hg manifest 1 |
444 | 7 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
8 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
801
1f9ec150a476
Updated output of tests.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
9 + hg rawcommit -p 1 -d 0 0 -m2 c |
591 | 10 + hg manifest 2 |
444 | 11 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
12 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
13 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
591 | 14 + hg parents |
784
853bfbf1a312
Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents:
749
diff
changeset
|
15 changeset: 2:9f827976dae4 |
444 | 16 tag: tip |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
17 user: test |
444 | 18 date: Thu Jan 1 00:00:00 1970 |
591 | 19 summary: 2 |
546
c8ae964109c1
Add an empty line after description in verbose mode of show_changeset.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
495
diff
changeset
|
20 |
801
1f9ec150a476
Updated output of tests.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
21 + hg rawcommit -p 2 -d 0 0 -m3 b |
591 | 22 + hg manifest 3 |
444 | 23 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
24 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
591 | 25 + hg parents |
784
853bfbf1a312
Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents:
749
diff
changeset
|
26 changeset: 3:c8225a106186 |
444 | 27 tag: tip |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
28 user: test |
444 | 29 date: Thu Jan 1 00:00:00 1970 |
591 | 30 summary: 3 |
546
c8ae964109c1
Add an empty line after description in verbose mode of show_changeset.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
495
diff
changeset
|
31 |
801
1f9ec150a476
Updated output of tests.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
32 + hg rawcommit -p 3 -d 0 0 -m4 a |
591 | 33 + hg manifest 4 |
444 | 34 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
35 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
591 | 36 + hg parents |
784
853bfbf1a312
Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents:
749
diff
changeset
|
37 changeset: 4:8dfeee82a94b |
444 | 38 tag: tip |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
39 user: test |
444 | 40 date: Thu Jan 1 00:00:00 1970 |
591 | 41 summary: 4 |
546
c8ae964109c1
Add an empty line after description in verbose mode of show_changeset.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
495
diff
changeset
|
42 |
801
1f9ec150a476
Updated output of tests.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
43 + hg rawcommit -p 1 -d 0 0 -m5 c |
591 | 44 + hg manifest 5 |
444 | 45 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
46 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
47 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c | |
591 | 48 + hg parents |
784
853bfbf1a312
Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents:
749
diff
changeset
|
49 changeset: 4:8dfeee82a94b |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
50 user: test |
444 | 51 date: Thu Jan 1 00:00:00 1970 |
591 | 52 summary: 4 |
444 | 53 |
801
1f9ec150a476
Updated output of tests.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
54 + hg rawcommit -p 4 -p 5 -d 0 0 -m6 |
591 | 55 + hg manifest 6 |
444 | 56 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
57 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
591 | 58 + hg parents |
784
853bfbf1a312
Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents:
749
diff
changeset
|
59 changeset: 6:c0e932ecae5e |
444 | 60 tag: tip |
784
853bfbf1a312
Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents:
749
diff
changeset
|
61 parent: 4:8dfeee82a94b |
853bfbf1a312
Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents:
749
diff
changeset
|
62 parent: 5:a7925a42d0df |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
63 user: test |
444 | 64 date: Thu Jan 1 00:00:00 1970 |
591 | 65 summary: 6 |
444 | 66 |
801
1f9ec150a476
Updated output of tests.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
67 + hg rawcommit -p 6 -d 0 0 -m7 |
591 | 68 + hg manifest 7 |
444 | 69 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
70 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
591 | 71 + hg parents |
784
853bfbf1a312
Fix tests for short changeset hashes and hidden manifest hashes
mpm@selenic.com
parents:
749
diff
changeset
|
72 changeset: 7:3a157da4365d |
444 | 73 tag: tip |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
74 user: test |
444 | 75 date: Thu Jan 1 00:00:00 1970 |
591 | 76 summary: 7 |
444 | 77 |