Cannot push to a LP project
Alexander Belchenko
bialix at ukr.net
Thu May 20 17:17:45 BST 2010
Philippe Lhoste пишет:
> Now, when I do bzr push lp:nimrod, I get an error message:
>
> D:\Dev\3rdParty\Nimrod\trunk
> > bzr push
> Using saved push location:
> bzr+ssh://bazaar.launchpad.net/~nimrod-devs/nimrod/trunk/
> Connected (version 2.0, client Twisted)
> Authentication (publickey) successful!
> Secsh channel 1 opened.
> bzr: ERROR:
> RemoteRepository(bzr+ssh://bazaar.launchpad.net/~nimrod-devs/nimrod/trunk/.bzr/)
>
> is not compatible with
> CHKInventoryRepository('file:///D:/Dev/3rdParty/Nimrod/.bzr/repository/')
> different rich-root support
Your local repository in 2a format, while branch on LP is in poor-root
format. You stuck.
> To make a long story short, is there a way to push my changes to this
> project?
> I don't dare to upgrade the repository myself, as I am not the owner.
> I can ask the owner to do the upgrade, but I don't know if he is willing
> to do it.
>
> These backward compatibility issues are annoying. I don't care if my own
> history is lost in the merge, what I want is to push my final changes.
> Is there a simple way to do it, even if it needs to pull again that
> project?
Check the format of lp branch:
bzr info -v http://bazaar.launchpad.net/~nimrod-devs/nimrod/trunk
It's just pack-0.92.
Create new shared repo on local computer:
bzr init-repo --pack-0.92 new-place
Get the trunk again into new-place.
Then the most boring part: do just diff of your changes and apply
them to your new branch in pack-0.92 format with `bzr patch` command
(you need GNU patch utility), e.g.:
cd philho-2a
bzr diff -c-1 > my-changes.diff
cd philho-0.92
bzr patch my-changes.diff
More information about the bazaar
mailing list