rebase: handle bookmarks matching revset function names (issue3950)
We handled these correctly with all rev-specifying options except,
somehow, -r/--rev.
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null