Changeset 70437 in webkit


Ignore:
Timestamp:
Oct 24, 2010 10:29:53 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-10-24 Adam Barth <abarth@webkit.org>

Reviewed by David Kilzer.

webkit-patch upload fails when the patch removes a file
https://bugs.webkit.org/show_bug.cgi?id=48187

We need to use "--" to separate file names from the rest of the
command.

  • Scripts/webkitpy/common/checkout/scm.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r70423 r70437  
     12010-10-24  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by David Kilzer.
     4
     5        webkit-patch upload fails when the patch removes a file
     6        https://bugs.webkit.org/show_bug.cgi?id=48187
     7
     8        We need to use "--" to separate file names from the rest of the
     9        command.
     10
     11        * Scripts/webkitpy/common/checkout/scm.py:
     12
    1132010-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
    214
  • trunk/WebKitTools/Scripts/webkitpy/common/checkout/scm.py

    r70169 r70437  
    668668
    669669    def revisions_changing_file(self, path, limit=5):
    670         commit_ids = self.run(["git", "log", "--pretty=format:%H", "-%s" % limit, path]).splitlines()
     670        commit_ids = self.run(["git", "log", "--pretty=format:%H", "-%s" % limit, "--", path]).splitlines()
    671671        return filter(lambda revision: revision, map(self.svn_revision_from_git_commit, commit_ids))
    672672
Note: See TracChangeset for help on using the changeset viewer.