Comment 7 for bug 268933

Revision history for this message
Gabriel de Perthuis (g2p) wrote :

The current code (r87) is also screwy and can't import ipython (these revisions: http://bazaar.launchpad.net/~ipython-dev/ipython/trunk/revision/1004 http://bazaar.launchpad.net/~ipython-dev/ipython/trunk/revision/1001.1.3 http://bazaar.launchpad.net/~ipython-dev/ipython/trunk/revision/1001.1.1 ).

Here is a test case:

bzr init
mkdir fools
touch fools/FOO
bzr add fools/FOO
bzr commit -m Initial
bzr mv fools/FOO .
bzr rm fools
bzr commit -m MvRm

# Fails
git init; ~/var/co/bzr/bzr-fastimport/exporters/bzr-fast-export.py . |git fast-import

# Exported data
/home/g2p/var/co/bzr/bzr-fastimport/exporters/bzr-fast-export.py .
*** BzrFastExport: Exported 0 commits; forcing checkpoint
checkpoint
commit refs/heads/tmp
mark :1
committer <whomever> 1224661056 +0200
data 7
Initial
M 644 inline fools/FOO
data 0

commit refs/heads/master
mark :2
committer <whomever> 1224661106 +0200
data 4
MvRm
from :1
D fools
R fools/FOO FOO

# When what should be exported is:
R fools/FOO FOO
D fools