[Webkit-unassigned] [Bug 32896] [bzt] Bugzilla-tool should not try to get the username and password from Git when we're using SVN

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 27 17:32:10 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32896


Daniel Bates <dbates at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45484|0                           |1
        is obsolete|                            |
  Attachment #45538|                            |review?
               Flag|                            |




--- Comment #6 from Daniel Bates <dbates at webkit.org>  2009-12-27 17:32:09 PST ---
Created an attachment (id=45538)
 --> (https://bugs.webkit.org/attachment.cgi?id=45538)
Patch with unit tests

Notice, calling Git.in_working_directory can throw an OSError errrno 2
exception if the git command is not found because we call Executive.run_command
which does not catch the exception. Hence, this patch modifies
Executive.run_command to catch these exceptions and passes them to the
specified error handler/returns the error code of the exception/returns the
error message of the exception.

For the credentials unit test, I assume SVN is installed as per
<http://webkit.org/building/tools.html> at the time of this writing, since
SVNTestRepository (imported from modules.scm_unittest) assumes it.

Also, I added a new unit test file, executive_unittest.py, to test the change
made to Executive.run_command.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list