NEW63094
webkit-patch gets confused by multiple values for bugzilla.username
https://bugs.webkit.org/show_bug.cgi?id=63094
Summary webkit-patch gets confused by multiple values for bugzilla.username
Eric Seidel (no email)
Reported 2011-06-21 14:03:55 PDT
webkit-patch gets confused if git local and global usernames are different % git config --global bugzilla.username commit-queue@webkit.org % git config bugzilla.username webkit.review.bot@gmail.com When I run webkit-patch patches-to-review (or any other command which uses authentication). This is what I see: Logging in as commit-queue@webkit.org webkit.review.bot@gmail.com... Bugzilla login failed: Invalid Username or Password. I think that the problem is the --get-all: @classmethod def read_git_config(cls, key, cwd=None): # FIXME: This should probably use cwd=self.checkout_root. # Pass --get-all for cases where the config has multiple values # Pass the cwd if provided so that we can handle the case of running webkit-patch outside of the working directory. return run_command(["git", "config", "--get-all", key], error_handler=Executive.ignore_error, cwd=cwd).rstrip('\n') I suspect we're not expecting to actually get more than one value back from git config.
Attachments
Note You need to log in before you can comment on or make changes to this bug.