felipec / git-remote-bzr

Transparent bidirectional bridge between Git and Bazaar for Git
GNU General Public License v2.0
75 stars 17 forks source link

does not handle conversion of file into symlink #4

Closed vagrantc closed 10 years ago

vagrantc commented 10 years ago

git-remote-bzr doesn't appear to handle conversion of a file into a symlink.

I've set up a simplified test case bzr repository which exhibits the issue:

bzr branch http://people.debian.org/~vagrant/bugs/731671-testcase git clone bzr::731671-testcase 731671-testcase-git

ls -l 731671-testcase* 731671-testcase: total 4 lrwxrwxrwx 1 vagrant vagrant 3 Jun 8 23:22 bar -> foo -rw-r--r-- 1 vagrant vagrant 20 Jun 8 23:22 foo

731671-testcase-git: total 8 -rw-r--r-- 1 vagrant vagrant 20 Jun 8 23:23 bar -rw-r--r-- 1 vagrant vagrant 20 Jun 8 23:23 foo

This appears very similar to the bug reported on the git-bzr package in Debian (which was recently removed from Debian):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731671

felipec commented 10 years ago

Fix by commit:

ea3eb4121ca10904587a51089755b5d7d600bb10