Mercurial > hg
annotate tests/test-tag-issue916 @ 7009:3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
issue916
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 08 Sep 2008 14:04:10 +0200 |
parents | |
children |
rev | line source |
---|---|
7009
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
1 #!/bin/sh |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
2 |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
3 hg init |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
4 echo a > a |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
5 hg commit -Am "test" -d "1000000 0" |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
6 |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
7 echo % issue 916 |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
8 hg up 000000 |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
9 hg parents |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
10 hg tag -r tip -d "1000000 0" "jglick" |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
11 echo % should it be removed ? |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
12 cat .hgtags |
3d54cf97598d
tag: without a checkout, base the tag changeset on tip instead of nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
13 hg tip |