webkit-patch apply-from-bug should work regardless of your CWD
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 22:45:22 +0000 (22:45 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 22:45:22 +0000 (22:45 +0000)
commit809dfd6d4196378bd54f7123a16fe292d6e84c9f
tree74291b2039c12bcd8196b7c2018885019c8070ef
parent3bdd729ac573bcc57ac14ca6c5d30896883a7cf6
webkit-patch apply-from-bug should work regardless of your CWD
https://bugs.webkit.org/show_bug.cgi?id=77482

Reviewed by Adam Barth.

webkit-patch only ever works with patches made from the root
directory.  We should pass the CWD to svn-apply in the case
where we're running not from the webkit root.  I believe
this used to work in the past and regressed.

* Scripts/webkitpy/common/checkout/checkout.py:
(Checkout.apply_patch):
* Scripts/webkitpy/common/checkout/checkout_unittest.py:
(CheckoutTest.test_apply_patch):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/common/checkout/checkout.py
Tools/Scripts/webkitpy/common/checkout/checkout_unittest.py