Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
24514:d01c767d8753 | 24515:c1fe7111b6bb |
---|---|
188 } default { | 188 } default { |
189 lappend revargs $opt | 189 lappend revargs $opt |
190 } | 190 } |
191 } | 191 } |
192 if [catch { | 192 if [catch { |
193 set parse_args [concat --default HEAD $revargs] | 193 set parse_args [concat tip $revargs] |
194 set parse_temp [eval exec {$env(HG)} --config ui.report_untrusted=false debug-rev-parse $parse_args] | 194 set parse_temp [eval exec {$env(HG)} --config ui.report_untrusted=false log --template '{node}\n' $parse_args] |
195 regsub -all "\r\n" $parse_temp "\n" parse_temp | 195 regsub -all "\r\n" $parse_temp "\n" parse_temp |
196 set parsed_args [split $parse_temp "\n"] | 196 set parsed_args [split $parse_temp "\n"] |
197 } err] { | 197 } err] { |
198 # if git-rev-parse failed for some reason... | 198 # if git-rev-parse failed for some reason... |
199 if {$rargs == {}} { | 199 if {$rargs == {}} { |