comparison tests/test-copy2 @ 3853:c0b449154a90

switch to the .hg/store layout, fix the tests
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 01 Dec 2006 13:34:09 +0100
parents 94f38724283f
children de612b5f8d59
comparison
equal deleted inserted replaced
3852:8a9a1a7e1698 3853:c0b449154a90
12 echo "# shouldn't show copy" 12 echo "# shouldn't show copy"
13 hg commit -m2 -d"0 0" 13 hg commit -m2 -d"0 0"
14 hg debugstate|grep '^copy' 14 hg debugstate|grep '^copy'
15 15
16 echo "# should match" 16 echo "# should match"
17 hg debugindex .hg/data/foo.i 17 hg debugindex .hg/store/data/foo.i
18 hg debugrename bar 18 hg debugrename bar
19 19
20 echo bleah > foo 20 echo bleah > foo
21 echo quux > bar 21 echo quux > bar
22 hg commit -m3 -d"0 0" 22 hg commit -m3 -d"0 0"
28 echo "# should show copy" 28 echo "# should show copy"
29 hg debugstate|grep '^copy' 29 hg debugstate|grep '^copy'
30 hg commit -m3 -d"0 0" 30 hg commit -m3 -d"0 0"
31 31
32 echo "# should show no parents for tip" 32 echo "# should show no parents for tip"
33 hg debugindex .hg/data/bar.i 33 hg debugindex .hg/store/data/bar.i
34 echo "# should match" 34 echo "# should match"
35 hg debugindex .hg/data/foo.i 35 hg debugindex .hg/store/data/foo.i
36 hg debugrename bar 36 hg debugrename bar
37 37
38 echo "# should show no copies" 38 echo "# should show no copies"
39 hg debugstate|grep '^copy' 39 hg debugstate|grep '^copy'
40 40