Summary: | Need to run git commands within the checkout directory | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Satish Sampath <satish> | ||||||
Component: | Tools / Tests | Assignee: | Satish Sampath <satish> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, dpranke, eric, ojan, peter, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Satish Sampath
2012-09-04 06:30:08 PDT
Created attachment 162031 [details]
Patch
Comment on attachment 162031 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=162031&action=review One minor nit. Thanks, seems like a good clean-up overall :-). Did you intend to request commit as well? > Tools/Scripts/webkitpy/common/checkout/scm/git.py:101 > + def _run_exe(self, command_args, **kwargs): nit: I'm not thrilled about the "_run_exe" name, maybe something like "_run_git_command" would be better? If this issue applies to svn as well, maybe this could be generalized in the SCM class and name it "_run_scm_command".. Comment on attachment 162031 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=162031&action=review >> Tools/Scripts/webkitpy/common/checkout/scm/git.py:101 >> + def _run_exe(self, command_args, **kwargs): > > nit: I'm not thrilled about the "_run_exe" name, maybe something like "_run_git_command" would be better? If this issue applies to svn as well, maybe this could be generalized in the SCM class and name it "_run_scm_command".. I'll rename it to _run_git() similar to how there is a _run_svn() in svn.py. Since I don't have an svn checkout don't know if that has similar issues, would be better for someone with an svn checkout to send a patch if they find an issue with it. Created attachment 162041 [details]
Patch
Eric should probably review this patch. Comment on attachment 162041 [details]
Patch
Seems like a win. Thanks!
Comment on attachment 162041 [details] Patch Clearing flags on attachment: 162041 Committed r127507: <http://trac.webkit.org/changeset/127507> All reviewed patches have been landed. Closing bug. |