|Summary:||REGRESSION(r51230): commit-queue made a non-sensical rejection during git svn dcommit|
|Product:||WebKit||Reporter:||Eric Seidel (no email) <eric>|
|Component:||Tools / Tests||Assignee:||Nobody <webkit-unassigned>|
|Version:||528+ (Nightly build)|
|OS:||OS X 10.5|
|Bug Depends on:||29914|
Description Eric Seidel (no email) 2009-11-20 11:33:38 PST
commit-queue made a non-sensical rejection during git svn dcommit https://bugs.webkit.org/show_bug.cgi?id=31180#c5 This bug is to remind me to investigate why and fix it if necessary.
Comment 1 Eric Seidel (no email) 2009-11-24 15:26:53 PST
We saw a similar rejection just now: https://bugs.webkit.org/show_bug.cgi?id=31689#c20
Comment 2 Eric Seidel (no email) 2009-11-24 15:49:18 PST
Now that I understand what's going wrong this should be simple to fix! :)
Comment 3 Eric Seidel (no email) 2009-11-24 15:51:58 PST
the git svn dcommit call just needs to pass the include_stderr flag. Many of the calls probably need to have that enabled. In fact, I would suggest that include_stderr be enabled for all callers of run_command except for the one or two that the patch was trying to fix.
Comment 5 Eric Seidel (no email) 2009-11-25 08:18:14 PST
Comment on attachment 43839 [details] Patch svn-create-patch is actually the culprit of the stderr in diffs. :) As you can see in this diff you uploaded.
Comment 7 Eric Seidel (no email) 2009-11-25 11:52:49 PST
Comment on attachment 43861 [details] Patch LGTM.
Comment 8 Eric Seidel (no email) 2009-11-25 11:53:24 PST
Comment on attachment 43861 [details] Patch We could also unit test this, with an scm_unittest.py test. My review still stands, but a unit test would be nice, so that we don't break this again.
Comment 9 Zoltan Horvath 2009-11-25 11:56:35 PST
You were very fast! I'd wrote this: "You're right! Now it works well. (I don't see the ? xxx dir in the patch. :) )" I will write the unit test at tomorrow morning! Should I file it here or make a new bug for it?
Comment 10 Eric Seidel (no email) 2009-11-25 11:58:38 PST
You're welcome to do either. :) Thanks!
Comment 11 Zoltan Horvath 2009-11-25 12:02:32 PST
Committed r51391: <http://trac.webkit.org/changeset/51391>
Comment 12 Zoltan Horvath 2009-11-26 08:54:05 PST
I'll have time only next week for the unit-test. I opened a bug for it: #31916