Open baby-gnu opened 12 years ago
I just hit this when trying to push a branch with / in it. Didn't really understand the problem...now I do. I hit the problem when doing the following thing:
git checkout -b feature/new_awesome_feature
git bzr push lp:~<user>/<project>/<branch_with_forward_slash>
and got the following error:
bzr: ERROR: Parent of "<branch>" does not exist.
ERROR:root:Command "bzr branch <master> <branch>" failed.
This is a git convention, as branch names are juste files under .git/refs/heads, every parts before last element must be a directory.
I implement a fix to create the parent directories as needed.
Regards.
git pull git://git.baby-gnu.net/git-bzr-ng dad/fix-git-style-branch-name-with-slashes