Wrong merging on directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bazaar (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
How to reproduce:
Add a directory with 3 files to branch A.
Create branch B.
Add file 4 in the same dir together with the 3 files.
on branch A: baz mv <directory> <newname>
on branch B: baz merge branchA
the directory will be renamed to <newname>,
but file 4 is moved together with the directory
and marked as new file (according to baz lint).
this way it looks like the file has lost its history
(and probably did.. i didn't check it).
imho either the file is moved properly and baz lint
shouldn't see it as new, or a merge conflict should
be generated leaving the file in his original position.
personally i was expecting to see a merge conflict, since baz has no way to know if i really wanted to move the file or not.
Changed in bazaar: | |
assignee: | nobody → bazaar-developers |
Changed in bazaar: | |
assignee: | bazaar-developers → nobody |
Changed in bazaar: | |
assignee: | nobody → lifeless |
Changed in bazaar: | |
assignee: | lifeless → nobody |
Changed in bazaar: | |
assignee: | nobody → motu |
status: | New → Rejected |
Changed in bazaar: | |
status: | Rejected → New |
Changed in bazaar: | |
assignee: | motu → bazaar-developers |
Changed in bazaar: | |
assignee: | bazaar-developers → nobody |
Fabio, what version of baz was this in when you reported it ?