Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

bazaar checkout with --lightweight option ERROR

By
white
on 6/16/13, 8:20 AM 4,441 views

Greetings :)

I want to download source from bazaar it may take more than an two hours to download source code using bzr branch command (my network is bit slow)

But fastest way is to use checkout along with --lightweight

example

bzr checkout --lightweight lp:openobject-server/7.0 server bzr checkout --lightweight lp:openobject-addons/7.0 addons bzr checkout --lightweight lp:openerp-web/7.0 web

I do not want to update my changes into repository as I am not a vivid developer. I tried to use the following command

cd server bzr unbind

I got the following error

bzr: ERROR: To use this feature you must upgrade your branch at bzr+ssh://bazaar.launchpad.net/+branch/openobject-server/7.0/.

What does it mean? how do I upgrade?

Thank you

0

Martin

--Martin--
1978
| 5 6 8
Cornwall, Canada
--Martin--

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

Martin
On 2/22/14, 9:14 AM

There is a launchpad bug report about this, ". . . unbind is for bound branches, a lightweight checkout is not a bound branch, that's the bug, unbind should warn about that, not suggesting upgrade"

unbind shouldn't suggest upgrade

By the way, Keyur's answer above is completely incorrect. " you can upgrade your bazaar branch by giving by command : bzr pull or bzr update". An update and an upgrade are two very different things:

  • update - brings in the latest changes from the repository.
  • upgrade - changes the branch management software.

You can, of course, try the suggested upgrade with :

bzr upgrade --2a

Just bear in mind that it's pointless.

The real solution is to get the entire heavyweight branch. The technique for doing that is described here: Using bzr for installing OpenERP

0

Keyur

--Keyur--
1165
| 4 4 8
Ahmedabad, India
--Keyur--

Odoo Expert

Keyur
On 6/16/13, 9:21 AM

Hi white, you can upgrade your bazaar branch by giving by command : bzr pull or bzr update

Maybe then it will work.

Thanks.

Thank you for your response. When i tried bzr pull I got the following error, white@Acer-5830TG:~/bzr/temp/server$ bzr pull bzr: ERROR: Cannot lock LockDir(chroot-65376016:///%2Bbranch/openobject-server/7.0/.bzr/branch/lock): Transport operation not possible: readonly transport when I tried bzr update it executed successfully. But when i tried bzr unbind i got the same error i posted.

white
on 6/16/13, 12:10 PM

You can apply bzr break-lock command. Maybe that will solve your problem. And make sure you have given right permission to your repositories.

Keyur
on 6/24/13, 9:12 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/16/13, 8:20 AM
Seen: 4441 times
Last updated: 3/16/15, 8:10 AM