tests/test-patchbomb
changeset 4595 f7f2bd7f981d
parent 4594 1e11e8b6acab
child 4597 ec431334e4fc
equal deleted inserted replaced
4594:1e11e8b6acab 4595:f7f2bd7f981d
     5 
     5 
     6 hg init
     6 hg init
     7 echo a > a
     7 echo a > a
     8 hg commit -Ama -d '1 0'
     8 hg commit -Ama -d '1 0'
     9 
     9 
    10 hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar tip | \
    10 hg email -n -f quux -t foo -c bar tip | \
    11   sed -e 's/\(Message-Id:.*@\).*/\1/'
    11   sed -e 's/\(Message-Id:\).*@.*/\1/' | \
       
    12   sed -e 's/\(Date:\).*/\1/'
    12 
    13 
    13 echo b > b
    14 echo b > b
    14 hg commit -Amb -d '2 0'
    15 hg commit -Amb -d '2 0'
    15 
    16 
    16 hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test 0:tip | \
    17 # Pipe something to make raw_input() happy even under pysh+win32
    17   sed -e 's/\(Message-Id:.*@\).*/\1/' | \
    18 echo test | hg email -n -f quux -t foo -c bar -s test 0:tip | \
    18   sed -e 's/\(In-Reply-To:.*@\).*/\1/'
    19   sed -e 's/\(Message-Id:\).*@.*/\1/' | \
    19 
    20   sed -e 's/\(In-Reply-To:\).*@.*/\1/' | \
       
    21   sed -e 's/\(Date:\).*/\1/'