##// END OF EJS Templates
context: stop catching RepoLookupError from namespace.singlenode()...
context: stop catching RepoLookupError from namespace.singlenode() As pointed out by Yuya, the RepoLookupError was there for catching errors from repo.branchtip(). However, since 885c0290f7d5 (localrepo: add ignoremissing parameter to branchtip, 2014-10-16), that should no longer happen. I think it should now be an error if a namespace raises a RepoLookupError, so we propagate the exception up and and make it easy to fix, rather than trying to interpret the changeid as nodeid prefix and raise a general "unknown revision '...'" error. I also don't think we should catch FilteredLookupError and LookupError from the changelog.rev() call, for the same reason as above: If a namespace returns a node that doesn't exist, we should provide a more helpful exception than "unknown revision '...'". Differential Revision: https://phab.mercurial-scm.org/D3145

File last commit:

r37298:43548139 default
r37409:3198d5a2 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 ..