Hello
I tried to push the node tool work to Launchpad, and I get this:
bzr: ERROR: KnitRepository('lp-46092624:///~inkscape.dev/inkscape/trunk/.bzr/repository') is not compatible with CHKInventoryRepository('lp-46092624:///~tweenk/inkscape/gsoc-node-tool/.bzr/repository') different serializers
Would a 'bzr upgrade' on the Launchpad repository fix this?
Regards, Krzysztof
OK the problem is that I used a too-new repo format on my side. However when I do this: bzr init-repo --knit inkscape2 cd inkscape2 bzr co lp:inkscape trunk
I get:
bzr: ERROR: KnitRepository('file:///home/tweenk/src/inkscape2/.bzr/repository/') is not compatible with RemoteRepository(bzr+ssh://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/.bzr/) different rich-root support
What is the correct format to use for the local repository?
Regards, Krzysztof
On Sun, 2009-11-29 at 17:22 +0100, Krzysztof Kosiński wrote:
OK the problem is that I used a too-new repo format on my side. However when I do this: bzr init-repo --knit inkscape2 cd inkscape2 bzr co lp:inkscape trunk
I get:
bzr: ERROR: KnitRepository('file:///home/tweenk/src/inkscape2/.bzr/repository/') is not compatible with RemoteRepository(bzr+ssh://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/.bzr/) different rich-root support
What is the correct format to use for the local repository?
The easy way to do it would just be to "bzr branch lp:inkscape" and take it in the format that it is provided. That's what I did.
Cheers, Josh
The easy way to do it would just be to "bzr branch lp:inkscape" and take it in the format that it is provided. That's what I did.
That's OK, but I would also like to have a local shared repository to speed up things like local branching. Is this possible with the current setup? Regards, Krzysztof
On Sun, 29 Nov 2009 18:35:40 +0100 Krzysztof Kosiński <tweenk.pl@...400...> wrote:
That's OK, but I would also like to have a local shared repository to speed up things like local branching. Is this possible with the current setup?
I think you do:
bzr init-repo inkscape-repo cd inkscape-repo bzr branch lp:inkscape
which creates a "shared repository" directory 'inkscape-repo' (or whatever name you like) containing the branch 'inkscape', but with all the bzr data shared in the 'inkscape-repo' directory.
So then, in the 'inkscape-repo' directory,
bzr branch inkscape bug-53453
creates a branch called 'bug-53453'based on the inkscape branch, really fast.
When you're done in bug-53453, after a final commit there, I usually do something like
cd .../inkscape-repo/inkscape bzr merge ../bug-53453 bzr commit --fixes xxx -m'fixed blah blah' bzr push
at that point you can delete the 'bug-53453' directory if you want.
Also, in the mean time, doing `bzr pull` in 'inkscape', to keep that up to date, and `bzr merge ../inkscape; bzr commit -m'merged trunk'` in bug-53453 to get those updates in my bug branch.
Cheers -Terry
On Sun, 2009-11-29 at 17:22 +0100, Krzysztof Kosiński wrote:
What is the correct format to use for the local repository?
I've used --format=rich-root It provides an id for the repository and has now be blessed as the future of Bazaar (with the 2.0 format) so it should make upgrading in the future easier.
--Ted
participants (4)
-
Joshua A. Andler
-
Krzysztof Kosiński
-
Ted Gould
-
Terry Brown