diff contrib/hgk @ 24515:c1fe7111b6bb

hgk: remove no longer needed debug-rev-parse command
author Andrew Shadura <andrew@shadura.me>
date Sat, 28 Mar 2015 21:33:47 +0100
parents d01c767d8753
children 14873da80bc1
line wrap: on
line diff
--- 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] {