The hgk Tcl script is a direct port of the gitk tool used with git. Selected font size will be saved in ~/.gitk and reused in the next session. 'd' scroll viewed changeset down 18 lines Space scroll viewed changeset down one page Page-down or 'n' scroll changeset list down one pageĭelete, Backspace or 'b' scroll viewed changeset up one page Page-up or 'p' scroll changeset list up one page The following key combinations can be used to perform certain actions: (You will need to rename the file to hgk.tcl) To get the latest version, go to and navigate to contrib/hgk. #Activetcl 8.4 windowsWindows users may be missing hgk which as per Mozilla can be downloaded at: Path="C:\Program Files\Mercurial\Contrib\hgk.tcl" # Replace the following with your path to hgk # enable hgk extension ('hg help' shows 'view' as a command) (either the system-wide /Mercurial.ini or specific-user c:/Documents and Settings//Mercurial.ini) If using TclKit, then instead of use this line: with the Unix environment, you need to add hgk.cmd to the search path, or specify the path to hgk in your mercurial.ini file:Īlternatively you can put the following in your Mercurial.ini file after installing ActiveTcl If you're using the latest version of ActiveTcl (currently 8.5.4), you might need to change to and put quotes around the path to hgk as shown below: "C:\Program Files\path\to\hgk" %* So, assuming you have Tcl/Tk installed (ActiveTcl 8.4.15 works well with Mercurial 0.9.4), create a file called hgk.cmd with the following content (just replace the path to the hgk script on your system): C:\path\to\hgk %* #Activetcl 8.4 mac osUnder Windows NT, we need to make sure Hg can invoke the hgk script. Free activestate activetcl 8.4.13 download software at UpdateStar - ActiveTcl is the industry-standard Tcl distribution, available for Windows, Linux, Mac OS X, Solaris, AIX and HP-UX. Version output version and copyright information Verify verify the integrity of the repository Tag add a tag for the current tip or a given revision Status show changed files in the working directory Now hg help will show the new commands provided by the hgk extension: WARNING: if you fetch the contrib directory by hand, be careful to get the one that matches your version of Mercurial! Be aware that hgk requires /usr/bin/wish - which (at least on Fedora) is in the tk package. If this is the case, you can find it in the contrib directory of the main Mercurial tar.gz from the download section. older 8.4 versions), since Snow Leopard this has no longer been the case. #Activetcl 8.4 installNote: Many Linux distributions include the hgk.py extension in the mercurial package, but not the hgk Tcl script. On macOS, the easiest way to get Tk is to install the ActiveTcl distribution. Alternately, you can specify the path to hgk in your. For this command to work, hgk must be in your search path. The hg view command will launch the hgk Tcl script. Mercurial can also scan the default python library path for a file named 'hgk.py' if you set hgk empty: hgrc file (you have to use your global $HOME/.hgrc file, not one in a repository). To load the hgk.py extension, add it to your. hgk can be found in the contrib directory, and hgk.py can be found in the hgext directory. 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 to help people working with both gitk and hgk. (Tcl/Tk is not distributed with Mercurial.)Īs of be20a42f27a1 changeset (in 1.0 and later), Tcl. The hgk extension allows browsing the history of a repository in a graphical way. This extension is currently being distributed along with Mercurial. The right way to run that program from Tcl is to do: set tftpd "c:/tftpd32.351/tftpd32.We recommend the use of more modern alternative like hgview or TortoiseHg.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |