rhg: fix status --rev --rev sparse bug
In !1126 (merged) (specifically 136e74c2bf8f), I tried fixing the bug where rhg status --rev --rev PATTERN
would ignore PATTERN
. However, the way I did it was wrong. It considered sparse and narrow rules, but sparse rules are only applicable for the working copy, not history. This MR adds a test and fixes it.