Commit Graph

36 Commits

Author SHA1 Message Date
Thomas Arendsen Hein
deb94bc7fe Removed trailing spaces from everything except test output 2008-03-07 00:24:36 +01:00
Patrick Mezard
ba2d1c85b5 hgk: display branch name in diff header 2008-01-15 13:46:32 +01:00
Steve Borho
957c67ad44 hgk: add black and blue as preferred colors 2007-12-10 12:16:59 -06:00
bdowning@lavos.net
95bc1b9c93 hgk: change config file from .gitk to .hgk
Git's gitk and Mercurial's hgk have diverged enough that their configuration information is no longer entirely compatible.  Whenever I run one, the other gets reset to the default screen position.  This patch changes hgk to store and read its configuration from ".hgk" instead of ".gitk", so as not to conflict with the "real" gitk anymore.
2007-11-03 21:50:11 +01:00
Georg.Koltermann@mscsoftware.com
0e65b396d5 hgk: colorize commits by authors
Color commits by author. Colors will be assigned to authors by using a configurable list of colors. The line corresponding to current id (the version currently in the working tree) is highlighted in a special font which is also configurable. There is provision to assign fixed colors to authors. See .gitk comment for details.
2007-04-12 13:11:30 +02:00
TK Soh
630bf5e215 hgk: allow any extdiff command for visual diff 2007-10-08 11:18:34 +08:00
Patrick Mezard
0e612978e0 hgk: add basic usage and configuration documentation 2007-10-05 23:40:33 +02:00
Patrick Mezard
8dbf0b280f hgk: add context menu visual diff action
* * *
2007-10-02 23:28:04 +02:00
Patrick Mezard
510efc6c01 hgk: add debug-config command to pass configuration options 2007-10-05 22:39:36 +02:00
Patrick Mezard
671b107790 hgk: fix right-mouse button handling under macosx 2007-10-02 23:28:02 +02:00
Steve Borho
5a6d8a2860 hgk: add repo root to window title 2007-09-05 21:53:59 +02:00
Thomas Arendsen Hein
e34927453f Remove trailing spaces, fix indentation 2007-08-07 10:28:43 +02:00
Patrick Mezard
475f65528e hgk: enable mouse wheel under Windows.
For some reason, MouseWheel events are not routed under windows even in latest ActiveTcl 8.4.15 while they are under linux and macosx. These events are activated using code supplied with Tcl Tip 171: <http://www.tcl.tk/cgi-bin/tct/tip/171.html>. Strangely, the Tip code almost work but generates some unexpected infinite loop which is fixed using a simple boolean to check reentrancy.
2007-07-22 16:21:49 +02:00
Patrick Mezard
20a41666e1 hgk: enable mouse wheel on MouseWheel events.
At this point, mouse wheel still does not work under Windows.
2007-07-22 16:21:49 +02:00
Thomas Arendsen Hein
34b7fe0900 Make hgk handle filenames with spaces (issue49) 2007-07-01 19:15:25 +02:00
Thomas Arendsen Hein
03bf1f420d Use "--config ui.report_untrusted=false" for hg calls in hgk, fixes issue523.
tcl's exec yields an error if output to stderr happens and isn't redirected to
a file, so the warnings about untrusted .hg/hgrc caused problems in hgk.
The warning is still printed when executing 'hg view', so the user can see it
when using it from the shell.
2007-07-01 15:22:49 +02:00
Thomas Arendsen Hein
9270e4454c hgk: Use $HG instead of hg (see 9779a8c8d672) 2007-06-23 21:10:55 +02:00
TK Soh
490bbff9dc hgk: display tags that contain spaces 2007-06-04 09:16:53 -05:00
Bela Babik
6a77eec575 hgk: added -selectbackground grey to canvases 2007-06-04 16:54:52 +10:00
Andrei Vermel ext:(%22)
67fecf2874 hgk - fix CR issues on windows 2006-12-15 10:32:57 +03:00
Brendan Cully
7bcd472f27 hgk: add --limit, and revranges 2006-09-13 18:24:58 -07:00
Brendan Cully
8be3ac699a hgk: add revision numbers 2006-09-13 13:50:28 -07:00
TK Soh
653bca13b7 hgk: use short changeset hashes
this fixes the missing tags on hgk window
2006-08-24 16:12:23 -05:00
Thomas Arendsen Hein
82dbbf6d45 Fix hg view if author's name contains unmatched quotes. (issue248)
This was caused by the often seen Tcl list vs. string programming error.
2006-05-17 14:46:12 +02:00
Thomas Arendsen Hein
61dd59387f Use the new format of setting tags in view extension (Debian bug #361897) 2006-04-11 12:44:13 +02:00
TK Soh
badf259cef hgk: add horizontal scrollbar to patch window 2005-10-24 14:54:54 -07:00
Eric Bloodworth
4fdfb5c5a8 Add control-w key binding to quit hgk. 2005-10-24 14:54:48 -07:00
TK Soh
f2aeca3b0b contrib/hgk: remove hardcoded path to Wish 2005-09-29 13:18:32 -07:00
Vincent Danjean
eaf481898f hgk is a wish script
--- mercurial-0.7.orig/contrib/hgk	2005-09-23 11:02:21.000000000 +0200
+++ mercurial-0.7/contrib/hgk	2005-09-23 11:07:57.000000000 +0200
@@ -1,6 +1,4 @@
-#!/bin/sh
-# Tcl ignores the next line -*- tcl -*- \
-exec wish "$0" -- "${1+$@}"
+#!/usr/bin/wish

 # Copyright (C) 2005 Paul Mackerras.  All rights reserved.
 # This program is free software; it may be used, copied, modified
2005-09-23 18:58:57 -07:00
Thomas Arendsen Hein
455a56454d Cleanup of tabs and trailing spaces. 2005-09-21 07:56:19 +02:00
mpm@selenic.com
a0495d55b4 hgit -> hgk.py
Move hgit to hgk.py
- importing hgit as an extension created compiled hgitc, which was confusing
- hgit existed to support hgk so it was slightly misnamed
- removed executable bit as we no longer run it directly
- add 'view' command so we can run hg view
- change git-* commands to debug-* so hg help won't show them
- chdir to repository root on view so hgk doesn't choke in subdirs
2005-09-19 15:59:17 -07:00
mason@suse.com
62c6d5a3e2 Convert hgk to use the hgit extension, and upate to the latest gitk 2005-09-13 19:33:18 -05:00
mpm@selenic.com
1132fd6ccd minor hgk fixes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

minor hgk fixes

From: Chris Mason <mason@suse.com>

hgk was missing the last commit when reading the output from hgit rev-list -c

Some how a debugging puts snuck into the hgk I sent out.  Remove it:

manifest hash: cc0ec1d46fbbe9b7e9bf6404f9dbe2ec787811ba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCp13mywK+sNU5EO8RAnkqAJ49W/i1mwt38Yws4t0mEQeKttsOSQCgi9fS
/t42Uy0Qj9yeVppGPLel/bI=
=eIrI
-----END PGP SIGNATURE-----
2005-06-08 13:06:46 -08:00
mpm@selenic.com
9cb4207872 Mark the usual things executable
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark the usual things executable

manifest hash: e55dde46fd1a97ce338c1ac71278b67ca9d96bf7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCpz5RywK+sNU5EO8RAnypAJwLpjrQ09nMSJUELtCondHI0fvuVACfQu2J
mFi9D3L9ULGO457NWB4h3kY=
=3bcD
-----END PGP SIGNATURE-----
2005-06-08 10:52:01 -08:00
mpm@selenic.com
22f0ea87bb [PATCH] hgk should parse dates in the diff output
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] hgk should parse dates in the diff output

hgk doesn't deal well with the difflib style diffs, it expects the filename
to be the last thing on the line.  This patch fixes the regexp to stop
reading the filename at the first tab.

Signed-off-by: Chris Mason <mason@suse.com>

manifest hash: 9c5bcf427455dcf306ab6f91b1986723caa83f36
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCpl/HywK+sNU5EO8RAgAjAKCOuZsRtJDbdurTQry+7krtLTtRQQCfXLuN
LZEFkcOGS0jiAC6vci/RLJ0=
=jkr1
-----END PGP SIGNATURE-----
2005-06-07 19:02:31 -08:00
mpm@selenic.com
4948aa3074 Initial import of hgit and hgk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Initial import of hgit and hgk

Support for git compatibility sufficient to run gitk on top of hg
repositories.  This includes:

hgit diff-tree
hgit rev-list
hgit rev-tree
hgit cat-file

Signed-off-by: Chris Mason <mason@suse.com>

hgk is a slightly modified version of gitk1.1 from Paul Mackerras.  It has
been changed to use hgit commands, and has support for the extended
rev-list -c to speed up the commit listing.

Signed-off-by: Chris Mason <mason@suse.com>

manifest hash: 5a4a27135bc85bab2a3a1e35018a08a985d8d146
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCpVQ4ywK+sNU5EO8RAl3QAJ9p6VyZ8fCHfgt0p8ksgL2P215DXQCfZU47
d+u5GpZvkOTOc3+LU3Ny3nE=
=rjsC
-----END PGP SIGNATURE-----
2005-06-07 00:00:56 -08:00