tests/README
changeset 3199 096f1c73cdc3
parent 2991 f63667f694de
child 3934 d0bbd8ee50c7
equal deleted inserted replaced
3198:a32f65549b9e 3199: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