threads / bug / 24350

[BUG] git-1.7.2-rc1, cherry-picking with gitk

Subject: [BUG] git-1.7.2-rc1, cherry-picking with gitk

## tl;dr

2 messages between Jul 9, 2010 and Jul 9, 2010.

replies: 1people: 1as markdown or json

Chris Packham· Jul 9, 2010, 21:21 UTC · lore
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

Chris Packham· Jul 9, 2010, 21:27 UTC · re: Chris Packham · lore

Re: [BUG] git-1.7.2-rc1, cherry-picking with gitk

On 09/07/10 14:21, Chris Packham wrote:
Show 36 quoted lines
> 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

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'

← back to recent threads