Skip to content
Snippets Groups Projects
Commit 12dbdd34 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

branch: strip whitespace before testing known branch name

Because dirstate._branch() strips leading/trailing spaces from .hg/branch,
"hg branch ' foo '" should abort if branch "foo" exists in another head.

tag command had a similar bug and fixed by 3d0a9c8d7184.
parent bcdfb607
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment