contrib/hgk
changeset 24515 c1fe7111b6bb
parent 24514 d01c767d8753
child 24529 14873da80bc1
--- a/contrib/hgk	Sat Mar 28 21:24:57 2015 +0100
+++ b/contrib/hgk	Sat Mar 28 21:33:47 2015 +0100
@@ -190,8 +190,8 @@
 	}
     }
     if [catch {
-	set parse_args [concat --default HEAD $revargs]
-	set parse_temp [eval exec {$env(HG)} --config ui.report_untrusted=false debug-rev-parse $parse_args]
+	set parse_args [concat tip $revargs]
+	set parse_temp [eval exec {$env(HG)} --config ui.report_untrusted=false log --template '{node}\n' $parse_args]
 	regsub -all "\r\n" $parse_temp "\n" parse_temp
 	set parsed_args [split $parse_temp "\n"]
     } err] {