Mercurial > public > mercurial-scm > hg-stable
diff tests/test-archive.t @ 12321:11db6fa2961e
merge with stable
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Mon, 20 Sep 2010 15:42:58 +0200 |
parents | tests/test-archive@381f131220ad tests/test-archive@4134686b83e1 |
children | 92e30e135581 |
line wrap: on
line diff
--- a/tests/test-archive.t Fri Sep 17 12:45:13 2010 -0500 +++ b/tests/test-archive.t Mon Sep 20 15:42:58 2010 +0200 @@ -219,5 +219,19 @@ $ hg archive ../test-empty abort: no working directory: please specify a revision [255] +old file -- date clamped to 1980 + + $ touch -d 1975-01-01 old + $ hg add old + $ hg commit -m old + $ hg archive ../old.zip + $ unzip -l ../old.zip + Archive: ../old.zip + Length Date Time Name + --------- ---------- ----- ---- + 147 1980-01-01 00:00 old/.hg_archival.txt + 0 1980-01-01 00:00 old/old + --------- ------- + 147 2 files $ exit 0