Mercurial > hg-stable
diff mercurial/commands.py @ 19180:12dbdd348bb0 stable
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 07 May 2013 23:49:03 +0900 |
parents | 23f785b38af3 |
children | 05390cfe678a 01d68fb07915 |
line wrap: on
line diff