Run Mercurial as Windows Service

Ignacio Alvarez dev at xentient.com
Fri Jun 29 02:00:01 UTC 2007


The shell extension is a DLL written in C++ using VS2003. The shell
extension does most of its work by calling hg with the appropriate
parameters, but it does have a few built-in dialogs to make it easier to
use:

http://xentient.com/images/SNAG-00002.png
http://xentient.com/images/SNAG-00003.png
http://xentient.com/images/SNAG-00004.png
http://xentient.com/images/SNAG-00005.png

Thank you.

Ignacio.


Sean wrote:
> Ignacio,
>
> That  does look good.
>
> I had hacked at the registry myself to give me some simple context
> (right click) menu hg command -> hg status and hg commit, but yours
> looks much more comprehensive.
>
> I would be very keen to try the shell extensions. (is it just a .reg
> file or is there more too it than that ?)
>
> TIA
>
> On 6/29/07, Ignacio Alvarez <dev at xentient.com> wrote:
>>
>>  I'm a Windows programmer and I've been using Mercurial for only a few
>> weeks, but I've liked it so much that I've switched our team of Windows
>> programmers from Subversion to Mercurial.
>>
>>  The only real problem with the switch was the lack of a Windows GUI and
>> shell integration. That's why I wrote a simple shell extension to give
>> access to the Mercurial commands I've found most useful:
>>
>>  http://xentient.com/images/SNAG-00001.png
>>
>>  We've been using the shell extension for the past two weeks with
>> Mercurial
>> 0.9.3.
>>
>>  I also created an installer that packages the shell extension,
>> Mercurial,
>> Qct (for doing commits), and KDiff3 (for diffs, merging). The
>> installer only
>> asks for the committer user name and email and takes care of setting up
>> everything.
>>
>>  For shared centralized repositories, we're using SSH to access
>> Mercurial
>> running on a Linux server.
>>
>>  If anyone is interested in the shell extension, we're open to
>> releasing it
>> to the public.
>>
>>  Thank you.
>>
>>  Ignacio.
>>
>>
>>
>>  Rafael Villar Burke wrote:
>>  António Mertens wrote:
>>
>>
>>  I all. First time I'm trying to contribute to opensource projects so
>> be gentle :)
>>
>> Story so far...
>>
>>  I've just recently "met" Mercurial and started using it right away.
>>  I'm mostly and windows programmer and wanted to use the hg serve
>> option, but to do that, in Windows, you have to leave the terminal
>> window opened (hg crashes with -d but even so I think the terminal has
>> to remain opened). So I created a Windows Service. I thought of it
>> because SVNServer also has the same problem and solved it with a
>> windows service.
>>
>>
>>
>>  I don't know if you'll find it useful or not. I can provide free the
>> source code (C# .NET 2.0) and the compiled binaries. I've made a small
>> msi installer but it doesn't installs the service automatically. I'll
>> try to put it online and on a mercurial repos by the end of the day or
>> tomorrow...
>>  Please tell me what you think :) Thankx
>>
>>  It's simply great!. Thanks for sharing it!. Having nice tools to
>> integrate mercurial in the developer's environment are always a good
>> thing.
>>
>> Some time ago, some mails on the list commented about a work in progress
>> to create a TortoiseSVN clone for hg. This hg service could be a nice
>> complement, and perhaps it could be bundled with it in a "Mercurial for
>> Win32 GUI edition" ;).
>>
>> I'm sure you can help a lot with it as, AFAIK, there aren't too much
>> windows programmer around here. But... is the TortoiseHG project still
>> alive?. Is there a way to see the code?. Knowing this would help to get
>> some contributors...
>>
>> Regards,
>>
>> Rafael Villar Burke
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial
>>
>>
>>
>>
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial
>>
>>
>




More information about the Mercurial mailing list