[Webkit-unassigned] [Bug 62945] REGRESSION: GitTestWithMock.test_create_patch fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 18 17:21:26 PDT 2011


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





--- Comment #1 from Daniel Bates <dbates at webkit.org>  2011-06-18 17:21:26 PST ---
>From briefly looking into this it, find_checkout_root() doesn't use the Executive object passed into SCM.__init__(). Instead, it calls the global run_command() (defined in Executive.py) which instantiates its own Executive. So the mock executive object we pass to the Git constructor in  GitTestWithMock.setUp() isn't being used. Hence, find_checkout_root() actually tries to run the git command, which fails since the current working directory isn't a git repository.

-- 
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