mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
fa1c4e5ebe
Many tests didn't change back from subdirectories at the end of the tests ... and they don't have to. The missing 'cd ..' could always be added when another test case is added to the test file. This change do that tests (99.5%) consistently end up in $TESTDIR where they started, thus making it simpler to extend them or move them around.
26 lines
435 B
Perl
26 lines
435 B
Perl
Just exercize debugindexdot
|
|
Create a short file history including a merge.
|
|
$ hg init t
|
|
$ cd t
|
|
$ echo a > a
|
|
$ hg ci -qAm t1 -d '0 0'
|
|
$ echo a >> a
|
|
$ hg ci -m t2 -d '1 0'
|
|
$ hg up -qC 0
|
|
$ echo b >> a
|
|
$ hg ci -m t3 -d '2 0'
|
|
created new head
|
|
$ HGMERGE=true hg merge -q
|
|
$ hg ci -m merge -d '3 0'
|
|
|
|
$ hg debugindexdot .hg/store/data/a.i
|
|
digraph G {
|
|
-1 -> 0
|
|
0 -> 1
|
|
0 -> 2
|
|
2 -> 3
|
|
1 -> 3
|
|
}
|
|
|
|
$ cd ..
|