tests/test-issue6528.t
branchstable
changeset 49489 58e38c1a2370
parent 49458 b10e4c19f8c5
child 50486 85c5b4b507af
equal deleted inserted replaced
49475:f64261762f3d 49489:58e38c1a2370
   175 It's a tarball because unbundle might magically fix the issue later.
   175 It's a tarball because unbundle might magically fix the issue later.
   176 
   176 
   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   $ tar -x < $TESTDIR/bundles/issue6528.tar
   180   $ tar -xf - < "$TESTDIR"/bundles/issue6528.tar
   181 
   181 
   182 Check that the issue is present
   182 Check that the issue is present
   183 (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
   184 to resolve ambiguous files at the end of status without reading their content
   184 to resolve ambiguous files at the end of status without reading their content
   185 if the size differs, and reading the expected size without resolving filelog
   185 if the size differs, and reading the expected size without resolving filelog
   276 --------------------------------
   276 --------------------------------
   277 
   277 
   278   $ cd ..
   278   $ cd ..
   279   $ mkdir repo-to-fix-report
   279   $ mkdir repo-to-fix-report
   280   $ cd repo-to-fix
   280   $ cd repo-to-fix
   281   $ tar -x < "$TESTDIR"/bundles/issue6528.tar
   281   $ tar -xf - < "$TESTDIR"/bundles/issue6528.tar
   282 
   282 
   283   $ hg debug-repair-issue6528 --to-report $TESTTMP/report.txt
   283   $ hg debug-repair-issue6528 --to-report $TESTTMP/report.txt
   284   found affected revision 1 for filelog 'data/D.txt.i'
   284   found affected revision 1 for filelog 'data/D.txt.i'
   285   found affected revision 1 for filelog 'data/b.txt.i'
   285   found affected revision 1 for filelog 'data/b.txt.i'
   286   found affected revision 3 for filelog 'data/b.txt.i'
   286   found affected revision 3 for filelog 'data/b.txt.i'
   363   > small_inline=$TESTTMP/ext/small_inline.py
   363   > small_inline=$TESTTMP/ext/small_inline.py
   364   > EOF
   364   > EOF
   365 
   365 
   366   $ mkdir repo-to-fix-not-inline
   366   $ mkdir repo-to-fix-not-inline
   367   $ cd repo-to-fix-not-inline
   367   $ cd repo-to-fix-not-inline
   368   $ tar -x < "$TESTDIR"/bundles/issue6528.tar
   368   $ tar -xf - < "$TESTDIR"/bundles/issue6528.tar
   369   $ echo b >> b.txt
   369   $ echo b >> b.txt
   370   $ hg commit -qm "inline -> separate"
   370   $ hg commit -qm "inline -> separate"
   371   $ find .hg -name *b.txt.d
   371   $ find .hg -name *b.txt.d
   372   .hg/store/data/b.txt.d
   372   .hg/store/data/b.txt.d
   373 
   373