Allow patches to any directory in the manifest.
BUG=chromium:630016
TEST=unit tests
Change-Id: I9b53288b203a93c75977730d4894b3799de92e9e
Reviewed-on: https://chromium-review.googlesource.com/407500
Commit-Ready: Julius Werner <jwerner@chromium.org>
Tested-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
diff --git a/scripts/cros_merge_to_branch.py b/scripts/cros_merge_to_branch.py
index 805b637..42c7f14 100644
--- a/scripts/cros_merge_to_branch.py
+++ b/scripts/cros_merge_to_branch.py
@@ -154,7 +154,7 @@
# Get the path to the first checkout associated with this change. Since
# all of the checkouts share git objects, it doesn't matter which checkout
# we pick.
- path = manifest.FindCheckouts(patch.project, only_patchable=True)[0]['path']
+ path = manifest.FindCheckouts(patch.project)[0]['path']
reference = os.path.join(constants.SOURCE_ROOT, path)
if not os.path.isdir(reference):