Comment 0 for bug 719460

Revision history for this message
Massimiliano Alberti (xanatos-geocities) wrote :

When I try to fast-import a branch, the branch isn't created and the revisions are loaded on the trunk.

bzr init-repo Test
cd Test
bzr init trunk
cd trunk
echo > test.txt
bzr add
bzr commit -m Test
cd ..
bzr branch trunk branch1
cd branch1
bzr mv test.txt Test.txt
bzr commit -m Test
cd ..
cd ..
bzr fast-export --no-plain Test/trunk trunk.fi
bzr fast-export --no-plain Test/branch1 branch1.fi

bzr init-repo Test2
cd Test2

bzr fast-import ../trunk.fi trunk
bzr fast-import ../branch1.fi branch1

This should re-create a trunk and a branch1, instead the folder branch1 isn't created and the commits of branch1 are loaded in the trunk, with a branch-nick of "branch1". I tried adding --trees on the two imports but it was the same.