Mercurial > hg
annotate tests/test-diffdir @ 3810:1d571ed26eed
Update tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 06 Dec 2006 13:13:44 -0600 |
parents | 096f1c73cdc3 |
children | 000d122071b5 |
rev | line source |
---|---|
536 | 1 #!/bin/sh |
2 | |
3 hg init | |
4 touch a | |
5 hg add a | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1723
diff
changeset
|
6 hg ci -m "a" -d "1000000 0" |
536 | 7 |
8 echo 123 > b | |
9 hg add b | |
3199
096f1c73cdc3
Add -D/--nodates options to hg diff/export that removes dates from diff headers
Stephen Darnell <stephen@darnell.plus.com>
parents:
1933
diff
changeset
|
10 hg diff --nodates |
536 | 11 |
3199
096f1c73cdc3
Add -D/--nodates options to hg diff/export that removes dates from diff headers
Stephen Darnell <stephen@darnell.plus.com>
parents:
1933
diff
changeset
|
12 hg diff --nodates -r tip |
1723
fde8fb2cbede
Fix diff against an empty file (issue124) and add a test for this.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
981
diff
changeset
|
13 |
fde8fb2cbede
Fix diff against an empty file (issue124) and add a test for this.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
981
diff
changeset
|
14 echo foo > a |
3199
096f1c73cdc3
Add -D/--nodates options to hg diff/export that removes dates from diff headers
Stephen Darnell <stephen@darnell.plus.com>
parents:
1933
diff
changeset
|
15 hg diff --nodates |