[ANN] HgWin v1.0 - GUI tool for Mercurial

Adrian Buehlmann adrian at cadifra.com
Mon Apr 12 12:13:20 CDT 2010


On 12.04.2010 18:42, Sergey Antonov wrote:
> Well, if you plan to use .Net in the shell extension (I mean in-proc)...

No. Windows Shell extension is C++ only (COM servers). Nothing else
(also, not using pythonXX.dll).

The context menu part checks if there is a repo or not (by looking for
.hg dirs) and only starts processes (hgtk).

The overlay handler part parses the files .hg/dirstate and
.hg/thgstatus. thgstatus is written by TortoiseHgOverlayServer.exe,
dirstate updated by the same (to scrub unset entries [1]).

The shell extension communicates over a named pipe with
TortoiseHgOverlayServer.exe, triggering it to update the two files as
needed.

[1] http://mercurial.selenic.com/wiki/DirState


More information about the Mercurial mailing list