Open f69m opened 11 years ago
Yes I just got bit by this as well:
$ bzr branch lp:cupstream2distro trunk
$ git bzr clone lp:cupstream2distro master
$ diff -rq trunk master
Only in trunk: .bzr
Only in master: .git
Only in master: manual
This is causing problems with some data analytics I want to do on the branch using git-specific tools.
I tried to reproduce this issue just with bzr-fastimport and couldn't do it, so it seems like you're using bzr-fastimport wrongly somehow:
$ bzr branch lp:cupstream2distro trunk
$ cp -r trunk master
$ cd master
$ git init
$ bzr fast-export --plain . | git fast-import
$ rm -rf .bzr
$ cd ..
$ diff -rq trunk master
Only in trunk: .bzr
Only in master: .git
Nope, I'm wrong. in my example the working directory is ok but the erroneous 'manual' directory is still lingering in the commit history. I guess bzr-fastexport is itself just hopelessly broken and none of these wrappers for it are workable (same issue with git-remote-bzr
and git-lp
)
You can use the Bazaar branch lp:phablet-extras/libhybris to reproduce this:
Results in:
Obviously, the first two lines are OK, but the rest must be considered a bug in git-bzr-ng. And those files are causing real issues.