[PATCH] hgk: make sure to process last commit

Chris Mason mason at suse.com
Wed Jun 8 14:02:36 UTC 2005


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

--- a/contrib/hgk	Tue Jun  7 16:53:05 2005
+++ b/contrib/hgk	Wed Jun  8 09:55:26 2005
@@ -139,6 +139,9 @@
 	# this works around what is apparently a bug in Tcl...
 	fconfigure $commfd -blocking 1
 	if {![catch {close $commfd} err]} {
+	    if {$allcommitstate == "indent"} {
+		readonecommit $curcommitid $curcommit
+	    }
 	    after idle drawgraph
 	    return
 	}



More information about the Mercurial mailing list