test-archive: fix touch datestamps stable
authorMads Kiilerich <mads@kiilerich.com>
Fri, 24 Sep 2010 02:49:09 +0200
branchstable
changeset 12395 cc6d40dffa45
parent 12393 84ceedcfeb6a
child 12396 ea384dbca5b1
test-archive: fix touch datestamps Backport 3acd5f7ab9d0 and 9581d5efb6a5 to stable.
tests/test-archive
--- a/tests/test-archive	Fri Sep 24 00:04:07 2010 +0200
+++ b/tests/test-archive	Fri Sep 24 02:49:09 2010 +0200
@@ -141,7 +141,7 @@
 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