Patch name is ambiguous when using directories
Created originally on Bitbucket by DeeHants (Deanna Earley)
I have a set of patches on top of my development repository:
- debug/6.0/build
- debug/5.3/build
- debug/5.2/build
- debug/5.1/build
When these are displayed in thg, they use the last component of the path only, in this case, "build". If I try and right click and apply the patch, it uses the same short name which then fails as it's ambiguous:
% hg qgoto build
patch name "build" is ambiguous:
debug/6.0/build
debug/5.3/build 5.3
debug/5.2/build
debug/5.1/build
abort: patch build not in series
[command returned code 255 Thu Jul 24 11:51:22 2014]
When I use "apply one patch" it works as expected:
% hg qpush
(working directory not at a head)
applying debug/6.0/build
now at: debug/6.0/build
[command completed successfully Thu Jul 24 11:53:08 2014]
When I manually use hg qgoto with the full patch name, it also works:
>hg qgoto debug/6.0/build
(working directory not at a head)
applying debug/6.0/build
now at: debug/6.0/build
Can this be updated to use the full patch name? Thanks