rebase: avoid RevlogError when computing obsoletenotrebased (issue5907)
The key to reproducing this seems to be missing an obsolete node that is not an
ancestor of the destination.
# See http://EditorConfig.org for the specificationroot = true[*.py]indent_size = 4indent_style = spacetrim_trailing_whitespace = true[*.{c,h}]indent_size = 8indent_style = tabtrim_trailing_whitespace = true