comparison tests/README @ 761:0fb498458905

Change all references to -t --text commit message to -m and --message.
author Andrew Thompson <andrewkt@aktzero.com>
date Fri, 22 Jul 2005 15:59:13 +0100
parents b4e0e20646bb
children 6592c4f5cd4f 445970ccf57a
comparison
equal deleted inserted replaced
760:73540173e14c 761:0fb498458905
16 There are some tricky points here that you should be aware of when 16 There are some tricky points here that you should be aware of when
17 writing tests: 17 writing tests:
18 18
19 - hg commit and hg up -m want user interaction 19 - hg commit and hg up -m want user interaction
20 20
21 for commit use -t "text" 21 for commit use -m "text"
22 for hg up -m, set HGMERGE to something noninteractive (like true or merge) 22 for hg up -m, set HGMERGE to something noninteractive (like true or merge)
23 23
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 -t "test" -u test -d "0 0" 27 use commit -m "test" -u test -d "0 0"
28 28
29 - diff will show the current time 29 - diff will show the current time
30 30
31 use hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/" to strip dates 31 use hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/" to strip dates
32 32