git-remote-bzr icon indicating copy to clipboard operation
git-remote-bzr copied to clipboard

How to fetch different branches from launchpad?

Open guillaumechereau opened this issue 11 years ago • 3 comments

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

guillaumechereau avatar May 23 '14 07:05 guillaumechereau

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/*'

felipec avatar May 24 '14 01:05 felipec

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

nirbhayc avatar Nov 11 '14 20:11 nirbhayc

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

khurshid-alam avatar Feb 17 '17 06:02 khurshid-alam