Show More
@@ -456,16 +456,13 b' proc readrefs {} {' | |||||
456 | exit 2 |
|
456 | exit 2 | |
457 | } |
|
457 | } | |
458 | } |
|
458 | } | |
459 | regsub -all "\r\n" $tags "\n" tags |
|
459 | ||
460 |
|
460 | foreach {tag rev} $tags { | ||
461 | set lines [split $tags "\n"] |
|
461 | # we use foreach as Tcl8.4 doesn't support lassign | |
462 | foreach f $lines { |
|
462 | foreach {- id} [split $rev :] { | |
463 | regexp {(\S+)$} $f full |
|
463 | lappend tagids($tag) $id | |
464 | regsub {\s+(\S+)$} $f "" direct |
|
464 | lappend idtags($id) $tag | |
465 | set sha [split $full ':'] |
|
465 | } | |
466 | set tag [lindex $sha 1] |
|
|||
467 | lappend tagids($direct) $tag |
|
|||
468 | lappend idtags($tag) $direct |
|
|||
469 | } |
|
466 | } | |
470 |
|
467 | |||
471 | set status [catch {exec $env(HG) --config ui.report_untrusted=false heads} heads] |
|
468 | set status [catch {exec $env(HG) --config ui.report_untrusted=false heads} heads] |
General Comments 0
You need to be logged in to leave comments.
Login now