comparison tests/test-subrepo-recursion.t @ 12339:f85338f509e4

tests: fixup tests using unzip -l
author Matt Mackall <mpm@selenic.com>
date Mon, 20 Sep 2010 15:50:36 -0500
parents f00953d9533c
children 8a5b6383ba02
comparison
equal deleted inserted replaced
12338:b016fc1c0862 12339:f85338f509e4
241 ../archive/x.txt 241 ../archive/x.txt
242 ../archive/.hgsubstate 242 ../archive/.hgsubstate
243 ../archive/.hgsub 243 ../archive/.hgsub
244 ../archive/.hg_archival.txt 244 ../archive/.hg_archival.txt
245 245
246 Test archiving to zip file: 246 Test archiving to zip file (unzip output is unstable):
247 247
248 $ hg archive --subrepos ../archive.zip 248 $ hg archive --subrepos ../archive.zip
249 $ unzip -l ../archive.zip
250 Archive: ../archive.zip
251 Length Date Time Name
252 --------- ---------- ----- ----
253 147 1980-01-01 00:00 archive/.hg_archival.txt
254 10 1980-01-01 00:00 archive/.hgsub
255 45 1980-01-01 00:00 archive/.hgsubstate
256 3 1980-01-01 00:00 archive/x.txt
257 9 1980-01-01 00:00 archive/foo/y.txt
258 10 1980-01-01 00:00 archive/foo/.hgsub
259 45 1980-01-01 00:00 archive/foo/.hgsubstate
260 9 1980-01-01 00:00 archive/foo/bar/z.txt
261 --------- -------
262 278 8 files
263 249
264 Clone and test outgoing: 250 Clone and test outgoing:
265 251
266 $ cd .. 252 $ cd ..
267 $ hg clone repo repo2 253 $ hg clone repo repo2