Mercurial > hg-stable
changeset 9063:0772889d8a65
hgk: wrapped docstrings at 78 characters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 07 Jul 2009 23:54:42 +0200 |
parents | 6921a7140ab3 |
children | 773ab631a0c8 |
files | hgext/hgk.py |
diffstat | 1 files changed, 15 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/hgk.py Tue Jul 07 23:54:42 2009 +0200 +++ b/hgext/hgk.py Tue Jul 07 23:54:42 2009 +0200 @@ -7,31 +7,31 @@ '''browse the repository in a graphical way -The hgk extension allows browsing the history of a repository in a -graphical way. It requires Tcl/Tk version 8.4 or later. (Tcl/Tk is not -distributed with Mercurial.) +The hgk extension allows browsing the history of a repository in a graphical +way. It requires Tcl/Tk version 8.4 or later. (Tcl/Tk is not distributed with +Mercurial.) -hgk consists of two parts: a Tcl script that does the displaying and -querying of information, and an extension to Mercurial named hgk.py, -which provides hooks for hgk to get information. hgk can be found in -the contrib directory, and the extension is shipped in the hgext -repository, and needs to be enabled. +hgk consists of two parts: a Tcl script that does the displaying and querying +of information, and an extension to Mercurial named hgk.py, which provides +hooks for hgk to get information. hgk can be found in the contrib directory, +and the extension is shipped in the hgext repository, and needs to be enabled. -The hg view command will launch the hgk Tcl script. For this command -to work, hgk must be in your search path. Alternately, you can specify -the path to hgk in your .hgrc file: +The hg view command will launch the hgk Tcl script. For this command to work, +hgk must be in your search path. Alternately, you can specify the path to hgk +in your .hgrc file: [hgk] path=/location/of/hgk -hgk can make use of the extdiff extension to visualize revisions. -Assuming you had already configured extdiff vdiff command, just add: +hgk can make use of the extdiff extension to visualize revisions. Assuming you +had already configured extdiff vdiff command, just add: [hgk] vdiff=vdiff -Revisions context menu will now display additional entries to fire -vdiff on hovered and selected revisions.''' +Revisions context menu will now display additional entries to fire vdiff on +hovered and selected revisions. +''' import os from mercurial import commands, util, patch, revlog, cmdutil