Changeset 45210 in webkit


Ignore:
Timestamp:
Jun 25, 2009 4:36:31 PM (15 years ago)
Author:
jmalonzo@webkit.org
Message:

2009-06-25 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Mark Rowe.

bugzilla-tool apply-patch throws exception in Linux
https://bugs.webkit.org/show_bug.cgi?id=26738

HEAD is case-sensitive in Linux. Convert uses of head to HEAD in
the scm module.

  • Scripts/modules/scm.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r45197 r45210  
     12009-06-25  Jan Michael Alonzo  <jmalonzo@webkit.org>
     2
     3        Reviewed by Mark Rowe.
     4
     5        bugzilla-tool apply-patch throws exception in Linux
     6        https://bugs.webkit.org/show_bug.cgi?id=26738
     7
     8        HEAD is case-sensitive in Linux. Convert uses of head to HEAD in
     9        the scm module.
     10
     11        * Scripts/modules/scm.py:
     12
    1132009-06-25  Eric Seidel  <eric@webkit.org>
    214
  • trunk/WebKitTools/Scripts/modules/scm.py

    r45197 r45210  
    243243   
    244244    def working_directory_is_clean(self):
    245         return self.run_command("git diff-index head") == ""
     245        return self.run_command("git diff-index HEAD") == ""
    246246   
    247247    def clean_working_directory(self):
    248248        # Could run git clean here too, but that wouldn't match working_directory_is_clean
    249         self.run_command("git reset --hard head")
     249        self.run_command("git reset --hard HEAD")
    250250   
    251251    def update_webkit(self):
     
    269269
    270270    def create_patch_command(self):
    271         return "git diff head"
     271        return "git diff HEAD"
    272272
    273273    def commit_with_message(self, message):
     
    296296        if len(revisions) < 2:
    297297            revisions[0] = "^" + revisions[0]
    298             revisions.append("head")
     298            revisions.append("HEAD")
    299299       
    300300        rev_list_args = ['git', 'rev-list'] + revisions
Note: See TracChangeset for help on using the changeset viewer.