Working with Bazaar repos from Mercurial

anatoly techtonik techtonik at gmail.com
Tue Jan 27 09:23:54 CST 2015


On Mon, Jan 26, 2015 at 10:44 PM, Augie Fackler <raf at durin42.com> wrote:
> On Sun, Jan 25, 2015 at 05:46:34PM +0300, anatoly techtonik wrote:
>> Hi,
>>
>> I asked on Ubuntu QA about the reasons why there is no plugin like
>> hg-git for working with Bazaar and the question got downvoted. I can
>> only guess that some people don't like the fact that somebody like me
>> is so lazy that he doesn't want to use Ubuntu's native VCS.
>>
>>
>> Anyway, with downvotes it won't get much traction I want to crosspost
>> the question here. Are there any obstacles that make two way hg-bzr
>> plugin impossible or really hard to do?
>
> bzr's data format, as I understand it, is slightly richer than
> Mercurial's when it comes to directory tracking. I think bzr is
> similar to svn. My guess is that hg-bzr is doable, and that it'd be
> somewhat easier than hgsubversion.

Does the data format matter for network communication? Are there
are some fields in changeset object that can not be easily provided
by Mercurial client? I mean it is not necessary to implement all the
field, only a small subset must be sufficient?

> That said, I have no interest in it, as I don't work with anything on
> bzr, so all I can do is wish you godspeed if you decide to tackle it.
>
> (I believe I have friends who are still on orders to stage an
> intervention if I write hg-bzr.)

Do you mean that these people will object? =)

>>
>> http://askubuntu.com/questions/577628/working-with-launchpad-with-mercurial
>>

I had to rewrite my question completely, because it was considered too
broad. Well, it could be. Actually, the process of using Bazaar was
quite straightforward. Launchpad URLs for branch names are insane, and
I still don't know what I've done, but at least I've got the pull
request there -
https://code.launchpad.net/~techtonik/ubuntu-dev-tools/minor-python3-fix/+merge/247538

Was as simple as:
  bzr checkout
  bzr commit
  bzr push ...

In the end it is all "get the source, make a diff, store a diff,
upload the diff". Why there are so many problems with all this version
control? User identification is done over SSH. Revision number
assignment? Mapping revisions - is that it?
-- 
anatoly t.


More information about the Mercurial-devel mailing list