Bug 26738 - bugzilla-tool apply-patch throws exception in Linux
Summary: bugzilla-tool apply-patch throws exception in Linux
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2009-06-25 16:03 PDT by Jan Alonzo
Modified: 2009-06-25 16:37 PDT (History)
0 users

See Also:

convert head to uppercase HEAD (2.10 KB, patch)
2009-06-25 16:06 PDT, Jan Alonzo
mrowe: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Alonzo 2009-06-25 16:03:34 PDT
bugzilla-tool fails with the following backtrace. Git seems to be case-sensitive with "HEAD" in Linux (at least). Patch coming..

Fetching: https://bugs.webkit.org/show_bug.cgi?id=26583                                                                                                                                                             
fatal: ambiguous argument 'head': unknown revision or path not in the working tree.                                                                                                                                 
Use '--' to separate paths from revisions                                                                                                                                                                           
Traceback (most recent call last):                                                                                                                                                                                  
  File "./WebKitTools/Scripts/bugzilla-tool", line 513, in <module>                                                                                                                                                 
  File "./WebKitTools/Scripts/bugzilla-tool", line 510, in main                                                                                                                                                     
    return tool.main()                                                                                                                                                                                              
  File "./WebKitTools/Scripts/bugzilla-tool", line 505, in main                                                                                                                                                     
    return command_object.execute(command_options, command_args, self)                                                                                                                                              
  File "./WebKitTools/Scripts/bugzilla-tool", line 190, in execute                                                                                                                                                  
  File "/home/jmalonzo/OpenSource/WebKit/WebKitTools/Scripts/modules/scm.py", line 74, in ensure_clean_working_directory                                                                                            
    if not force and not self.working_directory_is_clean():                                                                                                                                                         
  File "/home/jmalonzo/OpenSource/WebKit/WebKitTools/Scripts/modules/scm.py", line 242, in working_directory_is_clean                                                                                               
    return self.run_command("git diff-index head") == ""                                                                                                                                                            
  File "/home/jmalonzo/OpenSource/WebKit/WebKitTools/Scripts/modules/scm.py", line 68, in run_command                                                                                                               
    raise ScriptError('Failed to run "%s"  exit_code: %d  cwd: %s' % (command, exit_code, cwd))                                                                                                                     
modules.scm.ScriptError: Failed to run "git diff-index head"  exit_code: 128  cwd: None                                                                                                                             
zsh: exit 1     ./WebKitTools/Scripts/bugzilla-tool apply-patches --no-update 26583
Comment 1 Jan Alonzo 2009-06-25 16:06:08 PDT
Created attachment 31883 [details]
convert head to uppercase HEAD
Comment 2 Mark Rowe (bdash) 2009-06-25 16:27:31 PDT
Comment on attachment 31883 [details]
convert head to uppercase HEAD

LOL.  r=me
Comment 3 Jan Alonzo 2009-06-25 16:37:56 PDT
(In reply to comment #2)
> (From update of attachment 31883 [details] [review])
> LOL.  r=me

Landed in r45210