test-archive: fix touch datestamps

Backport ac3a256cdaf4 and cd415c06acaf to stable.
This commit is contained in:
Mads Kiilerich 2010-09-24 02:49:09 +02:00
parent 42663f256e
commit 5f130ba1ac

View File

@ -141,7 +141,7 @@ cd ../empty
hg archive ../test-empty
echo '% old file -- date clamped to 1980'
touch -d 1975-01-01 old
touch -t 197501010000 old
hg add old
hg commit -m old
hg archive ../old.zip