Helps remove the conditional in test-debugcommands.t for rhg.
- Group Reviewers
- rHGe8ae91b1a63d: rhg: raise wdir specific error for `hg debugdata`
Although tests don’t cover this it looks like Python code also recognizes hex prefixes of WORKING_DIRECTORY_REV, for example hg debugdata -c fffff. This could be based on is_prefix_of after creating a NodePrefix.
(I also just found a pre-existing bug: to match Python NodePrefix::from_hex should only accept input with 5 or more hex digits)