Mercurial > hg-stable
changeset 11847:1eb77c1a281f
tests: unify test-1102
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 14 Aug 2010 02:00:33 +0200 |
parents | 650402ea4a4f |
children | f54ff49393fb |
files | tests/test-1102 tests/test-1102.out tests/test-1102.t |
diffstat | 3 files changed, 16 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-1102 Sat Aug 14 01:58:04 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -#!/bin/sh - -rm -rf a -hg init a -cd a -echo a > a -hg ci -Am0 -hg tag t1 # 1 -hg tag --remove t1 # 2 - -hg co 1 -hg tag -r0 t1 -hg tags - - -
--- a/tests/test-1102.out Sat Aug 14 01:58:04 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -adding a -1 files updated, 0 files merged, 0 files removed, 0 files unresolved -tip 3:a49829c4fc11 -t1 0:f7b1eb17ad24
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-1102.t Sat Aug 14 02:00:33 2010 +0200 @@ -0,0 +1,16 @@ + $ rm -rf a + $ hg init a + $ cd a + $ echo a > a + $ hg ci -Am0 + adding a + $ hg tag t1 # 1 + $ hg tag --remove t1 # 2 + + $ hg co 1 + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ hg tag -r0 t1 + $ hg tags + tip 3:a49829c4fc11 + t1 0:f7b1eb17ad24 +