How can you configure tortoisehg to see the "graph" link on the web servers page?

In the mercury repo, I can see this. I think mercurial already has this feature with a revision graph.

How should I configure tortoisehg to achieve this?

I want to have something like this for hgweb.

0


source to share


1 answer


Tortisehg does not have a built-in graph viewer, but it will call "hg view" or "hgk" if installed and you have your tortoisehg.view configured in your Mercurial.ini file.

From http://tortoisehg.wiki.sourceforge.net/FAQ :

Q: How can I add hgk (hg view) back to TortoiseHg-0.3?

A: Download tclkit and place it in the TortoiseHg directory. Download the hgk script from the Mercurial repository and place it in the TortoiseHg \ contrib directory. Create a hgk.cmd file and place it in TortoiseHg \ scripts. This file should contain:

@set HG=C:\Program Files\TortoiseHg\hg.exe
@"C:\Program Files\TortoiseHg\tclkit-win32.exe" "C:\Program Files\TortoiseHg\contrib\hgk" %*

      



Then enable hgk in your Mercurial.ini file:

[extensions]
hgext.hgk =

[hgk]
path=C:\Program Files\TortoiseHg\scripts\hgk.cmd
vdiff=vdiff

      

Then tell TortoiseHg to use hgk as an external log observer in your Mercurial.ini file. This will enable the "Edit Chart" entry in the context menu and make it run hgk. The "View Changelog" menu will still open the TortoiseHg Change Viewer.

[tortoisehg]
view = hgk

      

+2


source







All Articles