Mercurial on Windows: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(Added links to other windows installers.)
Line 1: Line 1:
Just a dumping ground for now; will get more structure later.
Just a dumping ground for now; will get more structure later.


[http://mercurial.berkwood.com/ 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.
[http://mercurial.berkwood.com/ 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:
[http://qct.sourceforge.net/Mercurial-BI.html Batteries Included] installer newly with [http://tortoisehg.sourceforge.net/ TortoiseHG] and the
[http://qct.sourceforge.net/Mercurial-NSI.html Python Approach] installer.
[http://www.selenic.com/mercurial/wiki/index.cgi/WindowsInstallers 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).
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).

Revision as of 22:06, 14 December 2007

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
  • 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.