ANN: HgShell 0.1, a context menu extension for Windows

Ignacio Alvarez dev at xentient.com
Wed Jul 11 10:22:08 CDT 2007


A few weeks back, I wrote a simple context menu extension for
integrating Mercurial with Windows Explorer:

http://xentient.com/images/SNAG-00006.png

I've been waiting for some free time to write a basic tutorial on how to
use the extension before releasing it, but I've figured I'm going to
have to wait much longer, so I'm releasing it as is, in case anyone
finds it useful:

http://xentient.com/setups/hgshell-setup.zip

The setup program will also install and configure Mercurial, Qct, and
KDiff3.

The extension basically works by passing the appropriate arguments to
the hg command, either directly or through batch files stored in the
"hgshell\scripts" folder.

The "Clone repository" command works a bit different than you might
expect. If you invoke it on a repository on your hard disk, it will
automatically create a clone and append a number to the name. For
example, if you clone "c:\repo" it will create a repository named
"c:\repo.1" and if you clone it again it will create a repository named
"c:\repo.2". If you invoke the clone command on a folder that isn't a
repository, it will display a dialog where you can enter the URL of the
repository you wish to clone.

The extension stores its own settings in a file named ".hgoptions"
inside the repository. This file shouldn't be tracked by Mercurial,
since it's rewritten constantly and will most likely be different for
each user.

Thank you.

Ignacio.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20070711/a57e03c6/attachment.htm 


More information about the Mercurial mailing list