summaryrefslogtreecommitdiff
path: root/tests/test-debugindexdot.t
diff options
context:
space:
mode:
authorLorry <lorry@roadtrain.codethink.co.uk>2012-08-22 14:49:51 +0100
committerLorry <lorry@roadtrain.codethink.co.uk>2012-08-22 14:49:51 +0100
commita498da43c7fdb9f24b73680c02a4a3588cc62d9a (patch)
treedaf8119dae1749b5165b68033a1b23a7375ce9ce /tests/test-debugindexdot.t
downloadmercurial-tarball-a498da43c7fdb9f24b73680c02a4a3588cc62d9a.tar.gz
Tarball conversion
Diffstat (limited to 'tests/test-debugindexdot.t')
-rw-r--r--tests/test-debugindexdot.t25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/test-debugindexdot.t b/tests/test-debugindexdot.t
new file mode 100644
index 0000000..98ee015
--- /dev/null
+++ b/tests/test-debugindexdot.t
@@ -0,0 +1,25 @@
+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 ..