Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/README @ 3192:096f1c73cdc3
Add -D/--nodates options to hg diff/export that removes dates from diff headers
and replace uses of sed in the tests with --nodates.
author | Stephen Darnell <stephen@darnell.plus.com> |
---|---|
date | Tue, 26 Sep 2006 00:05:24 +0100 |
parents | f63667f694de |
children | d0bbd8ee50c7 |
comparison
equal
deleted
inserted
replaced
3191:a32f65549b9e | 3192:096f1c73cdc3 |
---|---|
24 - changeset hashes will change based on user and date which make | 24 - changeset hashes will change based on user and date which make |
25 things like hg history output change | 25 things like hg history output change |
26 | 26 |
27 use commit -m "test" -u test -d "1000000 0" | 27 use commit -m "test" -u test -d "1000000 0" |
28 | 28 |
29 - diff will show the current time | 29 - diff and export may show the current time |
30 | 30 |
31 use hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ | 31 use -D/--nodates to strip the dates |
32 -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" | |
33 to strip dates | |
34 | 32 |
35 - You can append your own hgrc settings to the file that the environment | 33 - You can append your own hgrc settings to the file that the environment |
36 variable HGRCPATH points to. This file is cleared before running a test. | 34 variable HGRCPATH points to. This file is cleared before running a test. |
37 | 35 |
38 You also need to be careful that the tests are portable from one platform | 36 You also need to be careful that the tests are portable from one platform |