RESOLVED FIXED 27973
REGRESSION(r46700): bugzilla-tool land-diff double-spaces ChangeLogs
https://bugs.webkit.org/show_bug.cgi?id=27973
Summary REGRESSION(r46700): bugzilla-tool land-diff double-spaces ChangeLogs
Eric Seidel (no email)
Reported 2009-08-04 01:29:29 PDT
REGRESSION: bugzilla-tool land-diff double-spaces ChangeLogs An example of the badness: http://trac.webkit.org/changeset/46750 I have no clue what broke this. It must have been very recent, since I use land-diff to land all my changes...
Attachments
Patch v1 (1.26 KB, patch)
2009-08-04 01:52 PDT, Eric Seidel (no email)
abarth: review+
Eric Seidel (no email)
Comment 1 2009-08-04 01:31:27 PDT
I wonder if it could be this change: http://trac.webkit.org/changeset/46700/trunk/WebKitTools/Scripts/bugzilla-tool I kinda doubt it though.
Eric Seidel (no email)
Comment 2 2009-08-04 01:43:01 PDT
It seems to be in the reviewer update code (not un-expected): bugzilla-tool --dry-run land-diff --no-build --reviewer="Bozo" reproduces the bug.
Eric Seidel (no email)
Comment 3 2009-08-04 01:49:54 PDT
Eric Seidel (no email)
Comment 4 2009-08-04 01:52:13 PDT
Created attachment 34047 [details] Patch v1
Adam Barth
Comment 5 2009-08-04 01:56:23 PDT
Comment on attachment 34047 [details] Patch v1 Yay. Now if only we had better unit testing...
Eric Seidel (no email)
Comment 6 2009-08-04 01:59:38 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebKitTools/ChangeLog M WebKitTools/Scripts/bugzilla-tool Committed r46754 M WebKitTools/ChangeLog M WebKitTools/Scripts/bugzilla-tool r46754 = 3d81d05269c879e0aac096ceee849d47735726dd (trunk) No changes between current HEAD and refs/remotes/trunk Resetting to the latest refs/remotes/trunk http://trac.webkit.org/changeset/46754
David Kilzer (:ddkilzer)
Comment 7 2009-08-04 07:42:39 PDT
Comment on attachment 34047 [details] Patch v1 >+ The trailing comma (suppresses newlines) was lost in r46700. Heh...I thought the trailing comma was a typo. That's one of the weirdest language behaviors I've ever seen.
Eric Seidel (no email)
Comment 8 2009-08-04 08:43:41 PDT
The comma is the tuple operator in python. So I assume print detects this by detecting if it's passed a list/tuple instead of a string. http://mail.python.org/pipermail/python-list/2005-July/332230.html talks more about this strange behavior.
Note You need to log in before you can comment on or make changes to this bug.