Mercurial > hg
comparison tests/test-diffdir @ 749:7e4843b7efd2
Update tests to use commit -m and default -u
manifest hash: 6e4385453843031a712005a320d6000595b40d05
author | mpm@selenic.com |
---|---|
date | Thu, 21 Jul 2005 15:05:17 -0500 |
parents | c15b4bc0a11c |
children | 6592c4f5cd4f 445970ccf57a |
comparison
equal
deleted
inserted
replaced
748:c5df1a9c5276 | 749:7e4843b7efd2 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 hg init | 3 hg init |
4 touch a | 4 touch a |
5 hg add a | 5 hg add a |
6 hg ci -t "a" -u test -d "0 0" | 6 hg ci -m "a" -d "0 0" |
7 | 7 |
8 echo 123 > b | 8 echo 123 > b |
9 hg add b | 9 hg add b |
10 hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/" | 10 hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/" |
11 | 11 |