2005-07-29 18:19:43 +04:00
|
|
|
#!/bin/sh
|
2005-06-22 06:51:06 +04:00
|
|
|
|
|
|
|
mkdir t
|
|
|
|
cd t
|
|
|
|
hg init
|
|
|
|
echo This is file a1 > a
|
|
|
|
hg add a
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -m "commit #0" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
echo This is file b1 > b
|
|
|
|
hg add b
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -m "commit #1" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
rm b
|
|
|
|
hg update 0
|
|
|
|
echo This is file b2 > b
|
|
|
|
hg add b
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -m "commit #2" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
cd ..; /bin/rm -rf t
|
|
|
|
|
|
|
|
mkdir t
|
|
|
|
cd t
|
|
|
|
hg init
|
|
|
|
echo This is file a1 > a
|
|
|
|
hg add a
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -m "commit #0" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
echo This is file b1 > b
|
|
|
|
hg add b
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -m "commit #1" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
rm b
|
|
|
|
hg update 0
|
|
|
|
echo This is file b2 > b
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -A -m "commit #2" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
cd ..; /bin/rm -rf t
|
|
|
|
|
|
|
|
mkdir t
|
|
|
|
cd t
|
|
|
|
hg init
|
|
|
|
echo This is file a1 > a
|
|
|
|
hg add a
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -m "commit #0" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
echo This is file b1 > b
|
|
|
|
hg add b
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -m "commit #1" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
rm b
|
|
|
|
hg remove b
|
|
|
|
hg update 0
|
|
|
|
echo This is file b2 > b
|
2006-03-13 15:05:41 +03:00
|
|
|
hg commit -A -m "commit #2" -d "1000000 0"
|
2005-06-22 06:51:06 +04:00
|
|
|
cd ..; /bin/rm -rf t
|