Re: RFD: git-bzr: anyone interested?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 27, 2010 at 1:47 AM, Dmitrijs Ledkovs
<dmitrij.ledkov@xxxxxxxxxx> wrote:
>
> 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

Bringing this full circle this is my version of what I needed to do.
Again its likely that the old version of bzr that openSUSE uses is the
reason the above didn't "just work(tm)" but just in case anyone else
is hitting the same problem heres my working recipbzr branch
lp:bzr-fast-import ~/.bazaar/fast-importe.

# plugin install
mkdir -p ~/.bazaar/plugins
bzr branch lp:bzr-fast-import ~/.bazaar/plugins/fastimport # note it
needs to be fastimport not fast-import or fast_import
bzr plugins --verbose  # just to check that the plugin is successfully installed

# actual import into git
bzr branch lp:upstart
git init upstart-git
cd upstart-git/
bzr fast-export ../upstart | git fast-import

> And the resulting git repository has master branch with tags.
>

Which is almost true for me except some tags weren't added due to
"missing revisions", and dang it if it doesn't happen to be the one
I'm after. This is probably because the 0.5 series for upstart is off
on its own, whatever fixes were in 0.5 probably have been merged I
just can't tell.

I think for my purposes I can manually find something close enough to
the actual revision that I need, either that or mess around trying to
import the obsolete 0.5 branch as well but thats something for me to
work through on my own now that I've got the fast-export recipe
working.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]