Skip to contentSkip to conversation

git-1.7.2-rc1, cherry-picking with gitk

BUG Chris Packham 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

Just noticed this when I was trying to cherry-pick a commit from one branch to another.

I launch gitk with 'gitk master..work' and right-click a commit to be cherry-picked. The cherry-pick seems to work (i.e. a new commit appears on master) but I get the following message from gitk:

can't read "circleitem(5)": no such element in array can't read "circleitem(5)": no such element in array
while executing
"$canv itemconf $circleitem($row) -fill $ofill"
(procedure "redrawtags" line 13)
invoked from within
"redrawtags $oldhead"
(procedure "cherrypick" line 46)
invoked from within
"cherrypick"
invoked from within
".rowctxmenu invoke active"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke active]"
(procedure "tk::MenuInvoke" line 50) invoked from within
"tk::MenuInvoke .rowctxmenu 1"
(command bound to event)

I've been doing similar things with older versions of git without problems (technically I usually do 'gitk --all' instead of 'gitk master..work').

--
Thanks,
Chris

#1 lore raw
Quoted 29 lines · Chris Packham

Hi,

Just noticed this when I was trying to cherry-pick a commit from one branch to another.

I launch gitk with 'gitk master..work' and right-click a commit to be cherry-picked. The cherry-pick seems to work (i.e. a new commit appears on master) but I get the following message from gitk:

can't read "circleitem(5)": no such element in array can't read "circleitem(5)": no such element in array
while executing
"$canv itemconf $circleitem($row) -fill $ofill"
(procedure "redrawtags" line 13)
invoked from within
"redrawtags $oldhead"
(procedure "cherrypick" line 46)
invoked from within
"cherrypick"
invoked from within
".rowctxmenu invoke active"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke active]"
(procedure "tk::MenuInvoke" line 50) invoked from within
"tk::MenuInvoke .rowctxmenu 1"
(command bound to event)

Quoted 7 lines

I've been doing similar things with older versions of git without problems (technically I usually do 'gitk --all' instead of 'gitk master..work').

--
Thanks,
Chris

Just following up if I use 'gitk --all' I don't see the problem. I tried git 1.6.4.3 and saw the same error message with 'gitk master..work'