RESOLVED FIXED 27849
bugzilla-tool post-commits obsoletes its own work :(
https://bugs.webkit.org/show_bug.cgi?id=27849
Summary bugzilla-tool post-commits obsoletes its own work :(
Eric Seidel (no email)
Reported 2009-07-30 12:09:14 PDT
Working around bug 27847 for now, so I passed a manual list of revisions: bugzilla-tool post-commits -b 25494 fe5ba4cc272372cbd6c14261081e8d0b856cde87 7a3f6b9a5aabf51fe0d54688805d0fd0e9dc657c 4c929dac07dd08bf2328b755a1054189e158478f Fetching: https://bugs.webkit.org/show_bug.cgi?id=25494&ctype=xml Obsoleting 6 old patches on bug 25494 Logging in as eric@webkit.org... Obsoleting attachment: 29924 Obsoleting attachment: 29926 Obsoleting attachment: 29927 Obsoleting attachment: 30846 Obsoleting attachment: 30847 Obsoleting attachment: 30848 Adding patch "Add more position constructors" to bug 25494 --- 6 files changed, 62 insertions(+), 8 deletions(-) Fetching: https://bugs.webkit.org/show_bug.cgi?id=25494&ctype=xml Obsoleting 1 old patch on bug 25494 Obsoleting attachment: 33799 Adding patch "Rename positionBeforeNode to positionInParentBeforeNode" to bug 25494 --- 16 files changed, 96 insertions(+), 46 deletions(-) Fetching: https://bugs.webkit.org/show_bug.cgi?id=25494&ctype=xml Obsoleting 1 old patch on bug 25494 Obsoleting attachment: 33800 Adding patch "Move them back to Position.h per mjs's request" to bug 25494 --- 7 files changed, 68 insertions(+), 45 deletions(-) It should have not obsoleted the patches it just posted!
Attachments
2009-07-30 Mike Fenton <mike.fenton@torchmobile.com> (1.62 KB, patch)
2009-07-30 14:05 PDT, Eric Seidel (no email)
no flags
Simple fix (1.19 KB, patch)
2009-07-30 14:05 PDT, Eric Seidel (no email)
no flags
Simple fix (1.19 KB, patch)
2009-07-30 14:06 PDT, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2009-07-30 14:01:33 PDT
I think this is due to the complexity of trying to support posting commits to different bugs... if options.obsolete_patches and bug_id not in have_obsoleted_patches: PostDiffAsPatchToBug.obsolete_patches_on_bug(bug_id, tool.bugs) have_obsoleted_patches.update(bug_id) is supposed to catch this case, but doesn't seem to be working.
Eric Seidel (no email)
Comment 2 2009-07-30 14:05:34 PDT
Created attachment 33835 [details] 2009-07-30 Mike Fenton <mike.fenton@torchmobile.com> Reviewed by Adam Treat. Add previously defined out support to PopupMenuQt for marking entries as disabled and for selecting the desired item. https://bugs.webkit.org/show_bug.cgi?id=27772 * platform/qt/PopupMenuQt.cpp: (WebCore::PopupMenu::populate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46593 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- 2 files changed, 24 insertions(+), 1 deletions(-)
Eric Seidel (no email)
Comment 3 2009-07-30 14:05:37 PDT
Created attachment 33836 [details] Simple fix --- 2 files changed, 12 insertions(+), 1 deletions(-)
Eric Seidel (no email)
Comment 4 2009-07-30 14:06:09 PDT
Created attachment 33837 [details] Simple fix --- 2 files changed, 12 insertions(+), 1 deletions(-)
David Kilzer (:ddkilzer)
Comment 5 2009-07-30 14:53:03 PDT
Comment on attachment 33837 [details] Simple fix r=me if this fixes the bug. Why does add() work better than update() here (from a Python language perspective)?
David Kilzer (:ddkilzer)
Comment 6 2009-07-30 14:54:24 PDT
(In reply to comment #5) > Why does add() work better than update() here (from a Python language > perspective)? Oh, is updating clearing the contents of the set each time and adding just the new bug_id (instead of adding it to the set)? That would make sense.
Eric Seidel (no email)
Comment 7 2009-07-30 15:25:38 PDT
in our case 't' is not a set. I think python is simply silently failing here: s.update(t) s |= t return set s with elements added from t I think update is doing nothing, where as .add() is doing what we want.
David Kilzer (:ddkilzer)
Comment 8 2009-07-30 16:09:02 PDT
(In reply to comment #7) > in our case 't' is not a set. I think python is simply silently failing here: > > s.update(t) s |= t return set s with elements added from t > > I think update is doing nothing, where as .add() is doing what we want. Thanks! python--
David Kilzer (:ddkilzer)
Comment 9 2009-07-31 13:39:31 PDT
Fixed in r46637. <http://trac.webkit.org/changeset/46637> Found Bug 27894 when trying to land this patch.
Note You need to log in before you can comment on or make changes to this bug.