test-excessive-merge
46 lines
| 566 B
| text/plain
|
TextLexer
/ tests / test-excessive-merge
Matt Mackall
|
r1716 | #!/bin/sh | ||
hg init | ||||
echo foo > a | ||||
echo foo > b | ||||
hg add a b | ||||
Thomas Arendsen Hein
|
r1933 | hg ci -m "test" -d "1000000 0" | ||
Matt Mackall
|
r1716 | |||
echo blah > a | ||||
Thomas Arendsen Hein
|
r1933 | hg ci -m "branch a" -d "1000000 0" | ||
Matt Mackall
|
r1716 | |||
hg co 0 | ||||
echo blah > b | ||||
Thomas Arendsen Hein
|
r1933 | hg ci -m "branch b" -d "1000000 0" | ||
Vadim Gelfer
|
r2283 | HGMERGE=true hg merge 1 | ||
Matt Mackall
|
r1716 | |||
Thomas Arendsen Hein
|
r1933 | hg ci -m "merge b/a -> blah" -d "1000000 0" | ||
Matt Mackall
|
r1716 | |||
hg co 1 | ||||
Vadim Gelfer
|
r2283 | HGMERGE=true hg merge 2 | ||
Thomas Arendsen Hein
|
r1933 | hg ci -m "merge a/b -> blah" -d "1000000 0" | ||
Matt Mackall
|
r1716 | |||
hg log | ||||
Benoit Boissinot
|
r3853 | hg debugindex .hg/store/00changelog.i | ||
Matt Mackall
|
r1716 | |||
echo | ||||
echo 1 | ||||
Matt Mackall
|
r3736 | hg manifest --debug 1 | ||
Matt Mackall
|
r1716 | echo 2 | ||
Matt Mackall
|
r3736 | hg manifest --debug 2 | ||
Matt Mackall
|
r1716 | echo 3 | ||
Matt Mackall
|
r3736 | hg manifest --debug 3 | ||
Matt Mackall
|
r1716 | echo 4 | ||
Matt Mackall
|
r3736 | hg manifest --debug 4 | ||
Matt Mackall
|
r1716 | |||
echo | ||||
Benoit Boissinot
|
r3853 | hg debugindex .hg/store/data/a.i | ||
Matt Mackall
|
r1716 | |||
Vadim Gelfer
|
r2283 | hg verify | ||