equal
deleted
inserted
replaced
60 hg copy modified copied |
60 hg copy modified copied |
61 |
61 |
62 # Run status with 2 different flags. |
62 # Run status with 2 different flags. |
63 # Check if result is the same or different. |
63 # Check if result is the same or different. |
64 # If result is not as expected, raise error |
64 # If result is not as expected, raise error |
65 function assert { |
65 assert() { |
66 hg status $1 > ../a |
66 hg status $1 > ../a |
67 hg status $2 > ../b |
67 hg status $2 > ../b |
68 out=`diff ../a ../b` |
68 out=`diff ../a ../b` |
69 if [ $? -ne 0 ]; then |
69 if [ $? -ne 0 ]; then |
70 out=1 |
70 out=1 |