Ok, in fact the two are open source :),
They are both available on pypi:

http://pypi.python.org/pypi/dulwich
http://pypi.python.org/pypi/hg-git

http://hg-git.github.com/ <- explanation on hggit

hggit does not need any git binaries, in fact it use dulwich witch is a pure
python implementation of git protocol.
So just adding the two lib you got a git push/pull support for free :)

It is interesting for people that need to work with git project but still
want to use tortoiseHg.
So git repos are cloned locally has hg repos, and you can pull later to git
repos as usual.

If you need I can send you my library.zip, so it will be less work for you,
just copy paste the two directories.

Here is what I added to mercurial.ini
[extensions]
hggit =

Laurent

-----Message d'origine-----
De : Steve Borho [mailto:st...@borho.org] 
Envoyé : dimanche 24 janvier 2010 15:05
À : Laurent Dufrechou
Cc : tortoisehg-discuss@lists.sourceforge.net
Objet : Re: [thg] hg-git integration

On Sun, Jan 24, 2010 at 4:56 AM, Laurent Dufrechou
<laurent.dufrec...@gmail.com> wrote:
> Hi all,
>
>
>
> I’ve just discovered hg-git that permits to work on remote git repository
> transparently.
>
> Do you think it could be bundled with tortoise HG?
>
>
>
> Here is a tutorial I’ve found:
>
> http://kb.wowace.com/repositories/tortoise-hg-as-a-git-client/

I can take a look.  If dulwich is open source, we could at least
package that, so users would only have to download hg-git.

> Sadly (or luckily you will tell me J ) I tried by myself before reading
this
> one, so I unzipped library.zip added dulwich and hg-git and it worked out
of
> the box.
>
> (without dulwich modification explained in the link)
>
>
>
> One point perhaps interesting for you, I zipped the library file in “ultra
> mode” with peazip and size of the zip is now 7MB instead of 18MB!
>
> And I see no speed issue so far…

That is interesting.

> Perhaps interesting for you to lower the bundled size?(or the installer is
> doing this job for us?)

py2exe is generating the library.zip file, but our scripts could
recompress it if we decided it was necessary.  At the moment, I've got
bigger fish to fry with the installer.  I would like to use WIX for
the 0.10 release, if possible.

--
Steve Borho


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to