##// END OF EJS Templates
tests: improve portability by no longer using the flag [tar --force-local]...
Arseniy Alekseyev -
r50353:b10e4c19 stable
parent child Browse files
Show More
@@ -177,14 +177,7 b" It's a tarball because unbundle might ma"
177 $ cd ..
177 $ cd ..
178 $ mkdir repo-to-fix
178 $ mkdir repo-to-fix
179 $ cd repo-to-fix
179 $ cd repo-to-fix
180 #if windows
180 $ tar -x < $TESTDIR/bundles/issue6528.tar
181 tar interprets `:` in paths (like `C:`) as being remote, force local on Windows
182 only since some versions of tar don't have this flag.
183
184 $ tar --force-local -xf $TESTDIR/bundles/issue6528.tar
185 #else
186 $ tar xf $TESTDIR/bundles/issue6528.tar
187 #endif
188
181
189 Check that the issue is present
182 Check that the issue is present
190 (It is currently not present with rhg but will be when optimizations are added
183 (It is currently not present with rhg but will be when optimizations are added
@@ -285,14 +278,7 b' Try the using the report options'
285 $ cd ..
278 $ cd ..
286 $ mkdir repo-to-fix-report
279 $ mkdir repo-to-fix-report
287 $ cd repo-to-fix
280 $ cd repo-to-fix
288 #if windows
281 $ tar -x < "$TESTDIR"/bundles/issue6528.tar
289 tar interprets `:` in paths (like `C:`) as being remote, force local on Windows
290 only since some versions of tar don't have this flag.
291
292 $ tar --force-local -xf $TESTDIR/bundles/issue6528.tar
293 #else
294 $ tar xf $TESTDIR/bundles/issue6528.tar
295 #endif
296
282
297 $ hg debug-repair-issue6528 --to-report $TESTTMP/report.txt
283 $ hg debug-repair-issue6528 --to-report $TESTTMP/report.txt
298 found affected revision 1 for filelog 'data/D.txt.i'
284 found affected revision 1 for filelog 'data/D.txt.i'
@@ -379,14 +365,7 b' Try it with a non-inline revlog'
379
365
380 $ mkdir repo-to-fix-not-inline
366 $ mkdir repo-to-fix-not-inline
381 $ cd repo-to-fix-not-inline
367 $ cd repo-to-fix-not-inline
382 #if windows
368 $ tar -x < "$TESTDIR"/bundles/issue6528.tar
383 tar interprets `:` in paths (like `C:`) as being remote, force local on Windows
384 only since some versions of tar don't have this flag.
385
386 $ tar --force-local -xf $TESTDIR/bundles/issue6528.tar
387 #else
388 $ tar xf $TESTDIR/bundles/issue6528.tar
389 #endif
390 $ echo b >> b.txt
369 $ echo b >> b.txt
391 $ hg commit -qm "inline -> separate"
370 $ hg commit -qm "inline -> separate"
392 $ find .hg -name *b.txt.d
371 $ find .hg -name *b.txt.d
@@ -73,7 +73,7 b' This is what we did to produce the repo '
73 - hg commit -Am_
73 - hg commit -Am_
74 - remove some cache files
74 - remove some cache files
75
75
76 $ tar --force-local -xf "$TESTDIR"/bundles/test-revlog-diff-relative-to-nullrev.tar
76 $ tar -x < "$TESTDIR"/bundles/test-revlog-diff-relative-to-nullrev.tar
77 $ cd nullrev-diff
77 $ cd nullrev-diff
78 $ hg debugdeltachain a
78 $ hg debugdeltachain a
79 rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio readsize largestblk rddensity srchunks
79 rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio readsize largestblk rddensity srchunks
General Comments 0
You need to be logged in to leave comments. Login now