# HG changeset patch # User mpm@selenic.com # Date 1119408666 28800 # Node ID feadc9697b4341141997a083e49e636c86bc8705 # Parent 3695fbd2c33bf81574b03840667a9c2670d749af Pick up tests from previous patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pick up tests from previous patch manifest hash: 3ec4c3cb96e15322f7489d89b7b92ee214f6cfb9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCuNIaywK+sNU5EO8RAuGOAJ9YXXfXstC6wysknsXPAL9jDeiUDwCgpFJ3 P5goy7Zw3ypinBEwZrhgXM8= =6fKs -----END PGP SIGNATURE----- diff -r 3695fbd2c33b -r feadc9697b43 tests/test-merge2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-merge2 Tue Jun 21 18:51:06 2005 -0800 @@ -0,0 +1,48 @@ +#!/bin/sh -x + +mkdir t +cd t +hg init +echo This is file a1 > a +hg add a +hg commit -t "commit #0" -d "0 0" -u user +echo This is file b1 > b +hg add b +hg commit -t "commit #1" -d "0 0" -u user +rm b +hg update 0 +echo This is file b2 > b +hg add b +hg commit -t "commit #2" -d "0 0" -u user +cd ..; /bin/rm -rf t + +mkdir t +cd t +hg init +echo This is file a1 > a +hg add a +hg commit -t "commit #0" -d "0 0" -u user +echo This is file b1 > b +hg add b +hg commit -t "commit #1" -d "0 0" -u user +rm b +hg update 0 +echo This is file b2 > b +hg commit -A -t "commit #2" -d "0 0" -u user +cd ..; /bin/rm -rf t + +mkdir t +cd t +hg init +echo This is file a1 > a +hg add a +hg commit -t "commit #0" -d "0 0" -u user +echo This is file b1 > b +hg add b +hg commit -t "commit #1" -d "0 0" -u user +rm b +hg remove b +hg update 0 +echo This is file b2 > b +hg commit -A -t "commit #2" -d "0 0" -u user +cd ..; /bin/rm -rf t diff -r 3695fbd2c33b -r feadc9697b43 tests/test-merge2.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-merge2.out Tue Jun 21 18:51:06 2005 -0800 @@ -0,0 +1,47 @@ ++ mkdir t ++ cd t ++ hg init ++ echo This is file a1 ++ hg add a ++ hg commit -t 'commit #0' -d '0 0' -u user ++ echo This is file b1 ++ hg add b ++ hg commit -t 'commit #1' -d '0 0' -u user ++ rm b ++ hg update 0 ++ echo This is file b2 ++ hg add b ++ hg commit -t 'commit #2' -d '0 0' -u user ++ cd .. ++ /bin/rm -rf t ++ mkdir t ++ cd t ++ hg init ++ echo This is file a1 ++ hg add a ++ hg commit -t 'commit #0' -d '0 0' -u user ++ echo This is file b1 ++ hg add b ++ hg commit -t 'commit #1' -d '0 0' -u user ++ rm b ++ hg update 0 ++ echo This is file b2 ++ hg commit -A -t 'commit #2' -d '0 0' -u user ++ cd .. ++ /bin/rm -rf t ++ mkdir t ++ cd t ++ hg init ++ echo This is file a1 ++ hg add a ++ hg commit -t 'commit #0' -d '0 0' -u user ++ echo This is file b1 ++ hg add b ++ hg commit -t 'commit #1' -d '0 0' -u user ++ rm b ++ hg remove b ++ hg update 0 ++ echo This is file b2 ++ hg commit -A -t 'commit #2' -d '0 0' -u user ++ cd .. ++ /bin/rm -rf t