##// END OF EJS Templates
revlog: extract function for getting node from known-to-exist rev...
revlog: extract function for getting node from known-to-exist rev Many of the calls to index_node() (which converts a rev to a nodeid) are done with a rev that's know to exist. If the function fails, there's something really wrong and we should just abort. This was done in only one place. This patch starts by extracting that code to a function that we can reuse in later patches. Differential Revision: https://phab.mercurial-scm.org/D3456

File last commit:

r37298:43548139 default
r37877:a91f31a1 default
Show More
test-debugindexdot.t
25 lines | 418 B | text/troff | Tads3Lexer
/ tests / test-debugindexdot.t
timeless@mozdev.org
spelling: exercise
r17490 Just exercise debugindexdot
Pradeepkumar Gayam
tests: unify tests-debugindexdot
r11923 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'
Gregory Szorc
tests: don't use revlog paths in tests...
r37298 $ hg debugindexdot a
Pradeepkumar Gayam
tests: unify tests-debugindexdot
r11923 digraph G {
-1 -> 0
0 -> 1
0 -> 2
2 -> 3
1 -> 3
}
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913
$ cd ..