Mercurial > hg > mercurial-source
annotate 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 |
rev | line source |
---|---|
536 | 1 #!/bin/sh |
2 | |
3 hg init | |
4 touch a | |
5 hg add a | |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
536
diff
changeset
|
6 hg ci -m "a" -d "0 0" |
536 | 7 |
8 echo 123 > b | |
9 hg add b | |
10 hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/" | |
11 | |
12 hg diff -r tip | sed "s/\(\(---\|+++\).*\)\t.*/\1/" |