contrib/hgk
changeset 6210 942287cb1f57
parent 5859 e0f86c1e3ae5
child 6322 108636b9b981
equal deleted inserted replaced
6209:4e8cd15240bf 6210:942287cb1f57
   340 			     $comname $comdate $comment $rev $branch]
   340 			     $comname $comdate $comment $rev $branch]
   341 }
   341 }
   342 
   342 
   343 proc readrefs {} {
   343 proc readrefs {} {
   344     global tagids idtags headids idheads tagcontents env curid
   344     global tagids idtags headids idheads tagcontents env curid
   345     
   345 
   346     set curid [exec $env(HG) --config ui.report_untrusted=false id]
   346     set curid [exec $env(HG) --config ui.report_untrusted=false id]
   347     regexp -- {[[:xdigit:]]+} $curid curid
   347     regexp -- {[[:xdigit:]]+} $curid curid
   348 
   348 
   349     set tags [exec $env(HG) --config ui.report_untrusted=false tags]
   349     set tags [exec $env(HG) --config ui.report_untrusted=false tags]
   350     regsub -all "\r\n" $tags "\n" tags
   350     regsub -all "\r\n" $tags "\n" tags