[PATCH] Add repo root to hgk window title

Steve Borho steve at borho.org
Tue Sep 4 17:10:05 CDT 2007


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1188943743 18000
# Node ID 44ca69bb43f07b7ad853b85252430a772275040b
# Parent  4fe04b183fd83ec6ba9b8c8f014329064761e36c
Add repo root to hgk window title

diff -r 4fe04b183fd8 -r 44ca69bb43f0 contrib/hgk
--- a/contrib/hgk	Tue Sep 04 18:37:28 2007 +0200
+++ b/contrib/hgk	Tue Sep 04 17:09:03 2007 -0500
@@ -3755,4 +3755,6 @@ setcoords
 setcoords
 makewindow
 readrefs
+set hgroot [exec $env(HG) root]
+wm title . "hgk $hgroot"
 getcommits $revtreeargs


More information about the Mercurial-devel mailing list