Branch copies from non-branches don't work
Bug #67010 reported by
Jelmer Vernooij
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
when a new branch gets created from a non-branch, bzr-svn currently bails out. For example, if /trunk/dir gets copied to /branches/
logwalker.py:151 has a FIXME about this:
# FIXME: What if copyfrom_path is not a branch path?
There are a couple of things we can do here:
* inherit the original parents revision history and have the revision be a move from dir -> . and a bunch of removes
* don't traverse history further and simply take the revision in which the copy happened as the first one on the branch
* use nested branches and make every subversion directory a branch.
Related branches
lp:~jelmer/bzr-svn/uniquerootid
(Merged)
Changed in bzr-svn: | |
status: | Confirmed → In Progress |
Changed in bzr-svn: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I attempted to add a return underneath line 151, and got the same issue.