From e1de9eb5e711997f359f2dc289ff12ba0b4625ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Wed, 15 May 2024 23:55:26 +0200 Subject: [PATCH] This should be it --- patches/bootstrap.patch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/patches/bootstrap.patch b/patches/bootstrap.patch index 557575a..c8af222 100644 --- a/patches/bootstrap.patch +++ b/patches/bootstrap.patch @@ -14,9 +14,12 @@ diff --git a/python/mozversioncontrol/mozversioncontrol/__init__.py b/python/moz def add_remove_files(self, *paths: Union[str, Path]): pass -@@ -995,7 +995,9 @@ class SrcRepository(Repository): +@@ -993,9 +993,11 @@ class SrcRepository(Repository): + """ + res = [] # move away the .git or .hg folder from path to more easily test in a hg/git repo - for root, dirs, files in os.walk("."): +- for root, dirs, files in os.walk("."): ++ for root, dirs, files in os.walk(path): for name in files: - res.append(os.path.join(root, name)) + res.append(