Mercurial on Windows: Difference between revisions
Jump to navigation
Jump to search
(Added links to other windows installers.) |
No edit summary |
||
Line 10: | Line 10: | ||
If you want to make <tt>hg view</tt> work: | If you want to make <tt>hg view</tt> work: | ||
* [http://www.activestate.com/store/activetcl/download/ install ActiveTcl], and make sure you tell it to associate .tcl with ActiveTcl | * [http://www.activestate.com/store/activetcl/download/ install ActiveTcl], and make sure you tell it to associate .tcl with ActiveTcl | ||
* add the <tt>hgk</tt> extension to your list of extensions in ~/Mercurial.ini | * add the <tt>hgk</tt> extension to your list of extensions in ~/Mercurial.ini, e.g to your [extensions] block add the line: | ||
hgext.hgk = | |||
* grab [http://hg.intevation.org/mercurial/crew/raw-file/b43db44cd047/contrib/hgk hgk from here] (this is a link to a snapshot in the crew repo; there may be newer ones, but the Windows installer does not have hgk packaged). Save this file somewhere in your path, and rename it to <tt>hgk.tcl</tt>. | * grab [http://hg.intevation.org/mercurial/crew/raw-file/b43db44cd047/contrib/hgk hgk from here] (this is a link to a snapshot in the crew repo; there may be newer ones, but the Windows installer does not have hgk packaged). Save this file somewhere in your path, and rename it to <tt>hgk.tcl</tt>. | ||
* in your Mercurial.ini, add: | * in your Mercurial.ini, add: |
Revision as of 00:20, 15 May 2008
Just a dumping ground for now; will get more structure later.
Binary installers for Windows exist; you probably want 0.9.4, or some newer released versions. I had problems with the latest 0.9.4+ snapshot. Now there are two other installers: Batteries Included installer newly with TortoiseHG and the Python Approach installer. Some reasoning behind the different binary installers for Windows.
In general, things will just work (assuming the Mercurial dir is in your path); there are some oddities with line endings here and there (e.g. hg export will use DOS line endings in the generated patch, while MQ-generated patches don't).
If you want to make hg view work:
- install ActiveTcl, and make sure you tell it to associate .tcl with ActiveTcl
- add the hgk extension to your list of extensions in ~/Mercurial.ini, e.g to your [extensions] block add the line:
hgext.hgk =
- grab hgk from here (this is a link to a snapshot in the crew repo; there may be newer ones, but the Windows installer does not have hgk packaged). Save this file somewhere in your path, and rename it to hgk.tcl.
- in your Mercurial.ini, add:
[hgk] path=C:\Users\vladimir\bin\hgk.tcl
and hg view should work.