enforce stricter matching for pull -r
Use an exact match with the ref name ('foo' in 'refs/heads/foo'), instead of just checking if it ended with '/foo'. This allows $ hg pull -r foo to run successfully on a repo containing the branches - 'foo', - 'mine/foo', - 'theirs/foo'
Loading
Please register or sign in to comment