tags:

views:

3304

answers:

6

Is there a good, native Mac tool to view Mercurial repositories, similar to gitnub for Git?

+1  A: 

You can use the one "built in", hg view. You'll need TCL installed though.

From the documentation:

The hgk Tcl script is a direct port of the gitk tool used with git. The hgk.py extension allows hgk to interact with mercurial in a git-like manner.

edit @ Matthew: yeah, that's why I linked to the documentation that explains it. You need to enable it in your .hgrc (like the fetch command), and TCL --as mentioned.

nlucaroni
+1  A: 

hg: unknown command 'view'

(Maybe I need to install something - but it's not native, nonetheless).

There is one "native" application out there, but it's not especially user-friendly. In fact, I'd go as far as saying that it's harder to use than the command line.

There was some talk a year or so ago about a version of SCPlugin, which puts badges on icons in the Finder that are under SVN control, and gives you a contextual menu (very much like TortoiseSVN on windows), but that seems to have collapsed.

I have been planning to create a mercurial "clone" of Versions (I asked them if they would consider doing a version of it for DVCS, and they said no).

Matthew Schinckel
+7  A: 

A few months back, Dustin Sallings wrote a fork of GitNub that uses Mercurial. It's Leopard-only, but lovely.

On Tiger, the "view" exension mentioned in the other comments works okay, as does hgview.

undees
+13  A: 

I know it's pretty old question, however just for sake of completeness, I think it is still worth to mention here the newest kid on the block called Murky.

vvarp
yes, murky looks fine, but there is no tut at all :/ it would be great to have a quick start video tut for that. I'm having difficulties as a new source control user :/
artmania
There is now a new newest kid on the block called MacHg: http://jasonfharris.com/machg/ :-) It supports big repositories and looks very smooth.
Martin Geisler
Yes Murky is really slow when scrolling through the reposity history.
brubelsabs
+6  A: 

Try the newly released MacHg. It uses the native GUI toolkit for Mac and comes with its own bundled version of Mercurial.

State after a merge in MacHg

There are many more screenshots available.

Martin Geisler
Is there a way to integrate the viewer into the ~/.hgrc? So "hg view" will start the viewer?
brubelsabs
brubelsabs: no, the idea is that you use MacHg for most or all of your Mercurial tasks.
Martin Geisler
A: 

I just released a new tool, SourceTree which is native Mac OS X and lets you work with both Mercurial and Git repositories in one application. alt text

Steve Streeting