Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
12318:d643ae555a4d | 12321:11db6fa2961e |
---|---|
217 $ hg init ../empty | 217 $ hg init ../empty |
218 $ cd ../empty | 218 $ cd ../empty |
219 $ hg archive ../test-empty | 219 $ hg archive ../test-empty |
220 abort: no working directory: please specify a revision | 220 abort: no working directory: please specify a revision |
221 [255] | 221 [255] |
222 old file -- date clamped to 1980 | |
223 | |
224 $ touch -d 1975-01-01 old | |
225 $ hg add old | |
226 $ hg commit -m old | |
227 $ hg archive ../old.zip | |
228 $ unzip -l ../old.zip | |
229 Archive: ../old.zip | |
230 Length Date Time Name | |
231 --------- ---------- ----- ---- | |
232 147 1980-01-01 00:00 old/.hg_archival.txt | |
233 0 1980-01-01 00:00 old/old | |
234 --------- ------- | |
235 147 2 files | |
222 | 236 |
223 $ exit 0 | 237 $ exit 0 |