Recommended repository viewer?
Chris Angelico
rosuav at gmail.com
Fri Dec 12 15:46:58 UTC 2014
Greetings!
I'm quite possibly asking this question in completely the wrong way,
but is there a recommended equivalent to gitk for Mercurial? There's
"hg view"/hgk, but apparently it's not something that gets
development:
http://mercurial.selenic.com/wiki/HgkExtension
Is this because there's a better graphical viewer, or do Mercurial
people eschew such things altogether?
What I'm looking to put together is a script which pulls the latest
changes from upstream, then shows me what those changes are -
preferably interactively. I could write a script to "hg pull -u" and
then do everything manually, but I'd much prefer to use something that
already exists. For reference, my equivalent git script looks like
this:
cur=`git rev-parse HEAD`
git pull "$@"
gitk --select-commit=$cur
On the python.org peps repository, it's usually not a problem to just
manually "hg pull -u", look how many new changesets were added, open
up "hg view", and hit the down-arrow key as many times as the number
of pulled changes; but on the cpython repo, where branch merges are
common, it gets messier and I'd really like to script it.
The immediate problem with using "hg view" for this is simply that it
doesn't support the --select-commit parameter that gitk does, and is
unlikely to grow it, given that the extension is "unloved" (d'awwww).
Hence my hope that there's an alternative to hg view, one that the
devs would recommend actually be used.
Am I barking up the wrong tree here?
Chris Angelico
More information about the Mercurial
mailing list