tests/test-archive.t
changeset 12321 11db6fa2961e
parent 12319 381f131220ad
parent 12316 4134686b83e1
child 12327 92e30e135581
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