{"thread":{"id":"9719","subject":"Regression in gitk from git-1.5.3-rc7","startedAt":"2007-08-31T06:26:20Z","lastAt":"2007-08-31T06:26:20Z","messageCount":1,"participants":["Adam Piątyszek"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"52012","messageId":"46D7B48C.9020206@et.put.poznan.pl","threadId":"9719","inReplyTo":null,"subject":"Regression in gitk from git-1.5.3-rc7","fromName":"Adam Piątyszek","fromEmail":"ediap@et.put.poznan.pl","sentAt":"2007-08-31T06:26:20Z","receivedAt":"2007-08-31T06:26:20Z","isPatch":false,"sender":{"key":"ediap@et.put.poznan.pl","avatar":null},"body":"Hi!\n\nFirst of all thanks for this great piece of software you are providing\nfor the community! I am a refugee from the SVN camp, BTW. ;-)\n\nTo the point...\n\nToday I noticed a problem in gitk from git-1.5.3-rc7 package, which I\nthink did not exist in rc5. The problem is as follows:\n\nI am working with two parallel branches (master and stable). And I often\nuse the cherry-pick option from gitk context menu to pick some patches\nfrom the master branch to the stable one (I cannot merge, because stable\nis a tracking branch of some remote SVN repository).\nIf the picked patch does not apply cleanly on stable, I fix the problem\nin editor, then switch to git-gui to update the index and commit this\nconflicted commit to the stable branch.\n\nNow, I go back to gitk, and *without* updating the view (using <F5> for\ninstance), I try to cherry pick another patch from my master branch.\nAnd in such a situation I got this error from git-gui:\n\n===== cut here =====\n\ncan't read \"arcnos(6e9a6c5fdabddeac2717d810997a1c4787ec72a2)\": no such\nelement in array\ncan't read \"arcnos(6e9a6c5fdabddeac2717d810997a1c4787ec72a2)\": no such\nelement in array\n    while executing\n\"set a $arcnos($p)\"\n    (procedure \"splitarc\" line 5)\n    invoked from within\n\"splitarc $p\"\n    (procedure \"addnewchild\" line 20)\n    invoked from within\n\"addnewchild $newhead $oldhead\"\n    (procedure \"cherrypick\" line 26)\n    invoked from within\n\"cherrypick\"\n    invoked from within\n\".rowctxmenu invoke active\"\n    (\"uplevel\" body line 1)\n    invoked from within\n\"uplevel #0 [list $w invoke active]\"\n    (procedure \"tk::MenuInvoke\" line 50)\n    invoked from within\n\"tk::MenuInvoke .rowctxmenu 1\"\n    (command bound to event)\n\n===== cut here =====\n\nBTW, the patch which I am trying to cherry-pick to stable is correctly\ncommitted, but gitk is not usable any more (I need to close it and start\nagain).\n\nThe above described problem does not occur when I refresh the gitk tree\nmanually before cherry-picking another commit.\n\nBest regards,\n/Adam\n\n\n-- \n.:.  Adam Piatyszek - \"ediap\"       .:.  JID: ediap(at)jabber.org .:.\n.:.  ediap(at)users.sourceforge.net .:.  PGP key ID: 0x1F115CCB   .:.\n"}]}