0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

This should be it

This commit is contained in:
Malte Jürgens 2024-05-15 23:55:26 +02:00
parent 6a41d5c3c4
commit e1de9eb5e7
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

@ -14,9 +14,12 @@ diff --git a/python/mozversioncontrol/mozversioncontrol/__init__.py b/python/moz
def add_remove_files(self, *paths: Union[str, Path]): def add_remove_files(self, *paths: Union[str, Path]):
pass 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 # 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: for name in files:
- res.append(os.path.join(root, name)) - res.append(os.path.join(root, name))
+ res.append( + res.append(