Promoting the use of Mercurial; was: Re: gnome dvcs survey results

Gabor Grothendieck ggrothendieck at gmail.com
Thu Jan 8 08:18:50 CST 2009


On Thu, Jan 8, 2009 at 9:02 AM, Bill Barry <after.fallout at gmail.com> wrote:
> I mean like how can I set it up to run the shelve extension? Is there some
> special directory to put the python file in? Do I need to do some sort of
> precompilation step (where are the python files for thg anyways)? Would it
> require me to make my own build of THG?

Put an .hgrc file into any of these directories (assuming your
Windows account is JoeDoe):

C:\Program Files\TortoiseHg\mercurial.ini
C:\Users\JoeDoe\mercurial.ini
C:\Users\JoeDoe\.hgrc

and the .hgrc file is similar to an .hgrc file on UNIX.  Here
is one derived from the one I use.  This one assumes you
have created a directory called c:\Users\JoeDoe\.hgext
but that is arbitrary and you can place your .py files
anywhere you like as long as you specify the path
correctly:

[extensions]
hgext.graphlog =
hgext.mq =
hgext.hgshelve = C:\Users\JoeDoe\.hgext\hgshelve.py
hgext.rcpath = C:\Users\JoeDoe\.hgext\rcpath.py
hgext.hello = C:\Users\JoeDoe\.hgext\hello.py


[ui]
username = JoeDoe at JoeDoe-PC
style = compact
editor = gvim

[hooks]
precommit.username =


More information about the Mercurial mailing list