<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>27973</bug_id>
          
          <creation_ts>2009-08-04 01:29:29 -0700</creation_ts>
          <short_desc>REGRESSION(r46700): bugzilla-tool land-diff double-spaces ChangeLogs</short_desc>
          <delta_ts>2009-08-04 08:43:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>levin</cc>
    
    <cc>vestbo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>136933</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 01:29:29 -0700</bug_when>
    <thetext>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...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136934</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 01:31:27 -0700</bug_when>
    <thetext>I wonder if it could be this change:
http://trac.webkit.org/changeset/46700/trunk/WebKitTools/Scripts/bugzilla-tool

I kinda doubt it though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136936</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 01:43:01 -0700</bug_when>
    <thetext>It seems to be in the reviewer update code (not un-expected):

bugzilla-tool --dry-run land-diff --no-build --reviewer=&quot;Bozo&quot; 

reproduces the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136938</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 01:49:54 -0700</bug_when>
    <thetext>Ha!  http://trac.webkit.org/changeset/46700/trunk/WebKitTools/Scripts/bugzilla-tool is the regression!  Can you find it? ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136940</commentid>
    <comment_count>4</comment_count>
      <attachid>34047</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 01:52:13 -0700</bug_when>
    <thetext>Created attachment 34047
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136941</commentid>
    <comment_count>5</comment_count>
      <attachid>34047</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-08-04 01:56:23 -0700</bug_when>
    <thetext>Comment on attachment 34047
Patch v1

Yay.  Now if only we had better unit testing...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136943</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 01:59:38 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136979</commentid>
    <comment_count>7</comment_count>
      <attachid>34047</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-08-04 07:42:39 -0700</bug_when>
    <thetext>Comment on attachment 34047
Patch v1

&gt;+        The trailing comma (suppresses newlines) was lost in r46700.

Heh...I thought the trailing comma was a typo.  That&apos;s one of the weirdest language behaviors I&apos;ve ever seen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136999</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 08:43:41 -0700</bug_when>
    <thetext>The comma is the tuple operator in python.  So I assume print detects this by detecting if it&apos;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.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>34047</attachid>
            <date>2009-08-04 01:52:13 -0700</date>
            <delta_ts>2009-08-04 07:42:39 -0700</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-27973-20090804015211.patch</filename>
            <type>text/plain</type>
            <size>1290</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCBmNTg3NmE4Li4xZDg0ZGNiIDEwMDY0NAotLS0gYS9XZWJLaXRUb29scy9DaGFuZ2VM
b2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDUgKzEsMTYgQEAKIDIwMDktMDgt
MDQgIEVyaWMgU2VpZGVsICA8ZXJpY0B3ZWJraXQub3JnPgogCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09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1dC5GaWxlSW5wdXQoY2hhbmdlbG9nX3BhdGgsIGlucGxhY2U9
MSk6Ci0gICAgICAgIHByaW50IGxpbmUucmVwbGFjZSgiTk9CT0RZIChPT1BTISkiLCByZXZpZXdl
ci5lbmNvZGUoInV0Zi04IikpCisgICAgICAgIHByaW50IGxpbmUucmVwbGFjZSgiTk9CT0RZIChP
T1BTISkiLCByZXZpZXdlci5lbmNvZGUoInV0Zi04IikpLAogCiBkZWYgbW9kaWZpZWRfY2hhbmdl
bG9ncyhzY20pOgogICAgIGNoYW5nZWxvZ19wYXRocyA9IFtd
</data>
<flag name="review"
          id="18216"
          type_id="1"
          status="+"
          setter="abarth"
    />
          </attachment>
      

    </bug>

</bugzilla>