git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
To: Gabriel Filion <lelutin@gmail.com>
Cc: Chris Packham <judge.packham@gmail.com>, git@vger.kernel.org
Subject: Re: RFD: git-bzr: anyone interested?
Date: Tue, 27 Apr 2010 09:47:53 +0100	[thread overview]
Message-ID: <q2j86ecb3c71004270147le799967dw579964600be84066@mail.gmail.com> (raw)
In-Reply-To: <4BD651C6.5050501@gmail.com>

On 27 April 2010 03:53, Gabriel Filion <lelutin@gmail.com> wrote:
> Hello,
>
> On 2010-04-26 17:41, Chris Packham wrote:
>> How far did git-bzr or git-remote-bzr get?
>>
>
> I unfortunately haven't had much time to fiddle with this. Having a full
> time job doesn't give me much space for experiences :( And on my free
> time, I've been a bit busy with one of my projects..
>
>
> I've tried simply "plugging in" the bzr-fastimport plugin to do the
> communication part. They already implement output similar to what
> git-fastimport expects. I was stuck on the part where you have to
> specify "marks" files, and about where to place them, so I left it there
> for now.
>

Except that bzr-fast-export -> bzr-fast-import will produce similar
history but all revision ids will be different so you will not be able
to merge in bzr after you worked in git =/ so it will be read-only.
Marks files are used when you want to import multiple related bzr
branches into a git repo. So in general case you will not need it =)

> I'll try and work on this pretty soon, but since I'm doing this on spare
> time, any help would be welcome. Maybe the good thing to do would be to
> put up a page somewhere with a mini-roadmap and the info needed/the info
> that was found out?
> By using bzr fast-import, the whole thing shouldn't take too long.
>
>> I've tried git-bzr from the repo and I seem to be stumbling on bzr not
>> having the fast-export command after I install the fast-import plugin
>> as per [1].
>
>> [1] http://github.com/kfish/git-bzr/blob/master/README
>
> This script needs you to install bazaar and the bzr "fast-import"
> plugin. Normally the fast-export command is implemented by it. You need
> a rather up-to-date version, though.
> I've found this script to work mostly for pulling in changes from bzr
> into git. Pushing has proven to be from slow to non-functional.
>

Well I did this:

$ mkdir -p ~/.bazaar/plugins
$ bzr branch lp:bzr-fast-import ~/.bazaar/fast-import
$ bzr branch lp:xiphos
$ git init git-xiphos
$ cd git-xiphos
$ bzr fast-export ../xiphos | git fast-import

And the resulting git repository has master branch with tags.

>
> As for the interest in this: mine is in using only one tool to do the
> work right and not having to switch from using 3 vcs tools (the current
> situation at work is 2 -- git and svn -- but soon bzr will come in). And
> for the one tool, I'd like to choose git.
> stupid reason? probably. but I've tried bzr and I don't like it.
>

Well I have my stupid reasons as well for choosing bzr for small
projects. With bzr-hg, bzr-git & bzr-svn I can work on all 4 without
doing a context switch. When I work on something big though like gcc
or binutils. Yeah git.... because of size & performance.

With bzr-* plugins though you generally get roundtrip & svn support is
excellent. On two machines bzr branch svn://URL will give identical
branches which you can merge between in bzr & svn, unlike git where
you have to use canonical import to have same SHA-1's on commits.

> --
> Gabriel Filion
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

  reply	other threads:[~2010-04-27  8:48 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 18:13 RFD: git-bzr: anyone interested? Gabriel Filion
2010-02-18 18:37 ` Sverre Rabbelier
2010-02-19  7:05   ` Gabriel Filion
2010-02-19  7:49     ` Sverre Rabbelier
2010-02-19 12:52       ` Gabriel
2010-02-19 13:38         ` Sverre Rabbelier
2010-02-19 15:15           ` Writing git remote helpers Gabriel
2010-02-22  4:53       ` RFD: git-bzr: anyone interested? Gabriel Filion
2010-02-19 13:55     ` Ilari Liusvaara
2010-02-22  4:42       ` Gabriel Filion
2010-02-22 10:51         ` Ilari Liusvaara
2010-02-23  3:20           ` Gabriel Filion
2010-02-23 12:45             ` Ilari Liusvaara
2010-04-26 21:41               ` Chris Packham
2010-04-26 23:46                 ` Dmitrijs Ledkovs
2010-04-27  0:58                   ` Chris Packham
2010-04-27  2:10                   ` Miles Bader
2010-04-27  2:53                 ` Gabriel Filion
2010-04-27  8:47                   ` Dmitrijs Ledkovs [this message]
2010-04-27 17:00                     ` Chris Packham
2010-04-27 17:13                   ` Chris Packham
2010-04-27 23:22                     ` Dmitrijs Ledkovs
2010-08-06  7:19                 ` Conrad Parker
2010-08-07  3:36                   ` Miles Bader
2010-08-07  8:48                     ` Gabriel Filion
2010-08-07 13:37                       ` Miles Bader
2010-08-07 13:03                   ` git-archimport (was: Re: RFD: git-bzr: anyone interested?) Jakub Narebski
2010-08-07 13:11                     ` git-archimport Matthieu Moy
2010-02-20 13:58 ` RFD: git-bzr: anyone interested? Felipe Contreras
2010-02-22  2:43   ` Gabriel Filion

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=q2j86ecb3c71004270147le799967dw579964600be84066@mail.gmail.com \
    --to=dmitrij.ledkov@ubuntu.com \
    --cc=git@vger.kernel.org \
    --cc=judge.packham@gmail.com \
    --cc=lelutin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).