Hi,
does anyone have experience accessing a bzr repository using git (something similar to git-svn for subversion)? I haven't found time so far to dive into bzr, and I'm so much used to my workflow with git that I'd like to keep using it if possible (at least for some time). I saw that there is a git-bzr script (http://github.com/pieter/git-bzr) but it's not maintained any more and I couldn't get it to work with the inkscape repo (by the way, is there an absolute url to access the repository instead of lp:inkscape?). Any hints how to make the git-bzr interaction work would be greatly appreciated.
Many thanks in advance and best wishes for a wonderful Christmas to everyone, Max
On Mon, 2009-12-21 at 16:56 +0100, Maximilian Albert wrote:
Hi,
does anyone have experience accessing a bzr repository using git (something similar to git-svn for subversion)? I haven't found time so far to dive into bzr, and I'm so much used to my workflow with git that I'd like to keep using it if possible (at least for some time). I saw that there is a git-bzr script (http://github.com/pieter/git-bzr) but it's not maintained any more and I couldn't get it to work with the inkscape repo (by the way, is there an absolute url to access the repository instead of lp:inkscape?). Any hints how to make the git-bzr interaction work would be greatly appreciated.
It appears that this one is still maintained: http://github.com/kfish/git-bzr
Cheers, Josh
On Mon, 2009-12-21 at 16:56 +0100, Maximilian Albert wrote:
Hi,
does anyone have experience accessing a bzr repository using git (something similar to git-svn for subversion)? I haven't found time so far to dive into bzr, and I'm so much used to my workflow with git that I'd like to keep using it if possible (at least for some time). I saw that there is a git-bzr script (http://github.com/pieter/git-bzr) but it's not maintained any more and I couldn't get it to work with the inkscape repo (by the way, is there an absolute url to access the repository instead of lp:inkscape?). Any hints how to make the git-bzr interaction work would be greatly appreciated.
Going by 'bzr info' on my branch, it appears that the absolute url is: http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
Cheers, Josh
On Mon, 2009-12-21 at 10:27 -0800, Joshua A. Andler wrote:
On Mon, 2009-12-21 at 16:56 +0100, Maximilian Albert wrote:
does anyone have experience accessing a bzr repository using git (something similar to git-svn for subversion)? I haven't found time so far to dive into bzr, and I'm so much used to my workflow with git that I'd like to keep using it if possible (at least for some time). I saw that there is a git-bzr script (http://github.com/pieter/git-bzr) but it's not maintained any more and I couldn't get it to work with the inkscape repo (by the way, is there an absolute url to access the repository instead of lp:inkscape?). Any hints how to make the git-bzr interaction work would be greatly appreciated.
Going by 'bzr info' on my branch, it appears that the absolute url is: http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
This will only let you download the branch, if you want to commit you'll need to use the SSH URL. The problem with SSH is that's slower so the LP plugin plays with this for you (download via HTTP). For using an adapter you'll probably want:
bzr+ssh://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
--Ted
2009/12/21 Joshua A. Andler <scislac@...400...>:
It appears that this one is still maintained: http://github.com/kfish/git-bzr
[...]
Going by 'bzr info' on my branch, it appears that the absolute url is: http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
Thanks for the hints! Unfortunately, even with the maintained version of the script I get the same error as with the original one (which I thought might have been caused by its outdatedness). Saying
git bzr add upstream http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
results in the error message "Remote is not a bazaar repository". Using Ted's url doesn't work either. Any clues what I'm doing wrong?
Thanks, Max
On Tue, 2009-12-22 at 10:08 +0100, Maximilian Albert wrote:
2009/12/21 Joshua A. Andler <scislac@...400...>:
It appears that this one is still maintained: http://github.com/kfish/git-bzr
[...]
Going by 'bzr info' on my branch, it appears that the absolute url is: http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
Thanks for the hints! Unfortunately, even with the maintained version of the script I get the same error as with the original one (which I thought might have been caused by its outdatedness). Saying
git bzr add upstream http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
results in the error message "Remote is not a bazaar repository". Using Ted's url doesn't work either. Any clues what I'm doing wrong?
Not using bzr for a bazaar project? ;) (jk)
If you do a "bzr branch lp:inkscape", and then do your "add upstream" command on your local bzr branch (yes, it's redundant and then you would have two copies), is there any difference with the error? I'm just curious if it's the bzr repository format stuff that is not correct, an expectation to have a local copy, unclear documentation, or something else.
Cheers, Josh
2009/12/22 Joshua A. Andler <scislac@...400...>:
Any clues what I'm doing wrong?
Not using bzr for a bazaar project? ;) (jk)
You're absolutely right. :) I certainly will dive into bzr once I find the time, it's just that I think it'll be easier to stick to git for a short while.
If you do a "bzr branch lp:inkscape", and then do your "add upstream" command on your local bzr branch (yes, it's redundant and then you would have two copies), is there any difference with the error?
Right, that worked (after a bit of tweaking). So it seems that the script can't cope with remote repositories. Thanks for the hint. I think I can live with the redundancy of an additional local bzr repo for a short while; any further issues should be discussed with the git-bzr script maintainer anyway.
Cheers and a Merry X-mas everyone! Max
participants (3)
-
Joshua A. Andler
-
Maximilian Albert
-
Ted Gould