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

How to fetch different branches from launchpad? #3

Open guillaumechereau opened 10 years ago

guillaumechereau commented 10 years ago

Maybe this is a bug, or maybe I am doing something wrong. For example with the project lp:do

git clone bzr::lp:do cd do git fetch bzr::lp:~psybers/do/do-vala

I get:

fatal: bad object 0000000000000000000000000000000000000000 error: bzr::lp:~psybers/do/do-vala did not send all necessary objects

felipec commented 10 years ago

I think it's a combination of issues, but mainly Git remote-helper infrastructure doesn't work with that. I haven't checked in detail though.

However, you can do this:

% git fetch bzr::lp:~psybers/do/do-vala 'refs/heads/*:refs/heads/do-vala/*'
nirbhayc commented 9 years ago

I get this error when I try perform a (git) pull from a "local" bzr repository.

$ git pull bzr::file:///home/nirbhay/project/repo/maria-5.5-galera/ .. cut .. progress revision 3400 'master' (3400/3543) progress revision 3500 'master' (3500/3543) fatal: bad object 0000000000000000000000000000000000000000 error: bzr::file:///home/nirbhay/project/repo/maria-5.5-galera/ did not send all necessary objects

khurshid-alam commented 7 years ago

@felipec Is there any way to clone only a specific revision from bazaar?