2024-05-15 15:28:16 -05:00
|
|
|
diff --git a/python/mozversioncontrol/mozversioncontrol/__init__.py b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
2023-10-27 07:17:39 -05:00
|
|
|
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
|
|
|
|
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
2024-05-15 16:42:59 -05:00
|
|
|
@@ -959,10 +959,10 @@ class SrcRepository(Repository):
|
2024-05-15 15:28:16 -05:00
|
|
|
pass
|
2023-10-27 07:17:39 -05:00
|
|
|
|
2024-05-15 15:28:16 -05:00
|
|
|
def get_changed_files(self, diff_filter="ADM", mode="unstaged", rev=None):
|
|
|
|
- pass
|
|
|
|
+ return []
|
2023-10-27 07:17:39 -05:00
|
|
|
|
2024-05-15 15:28:16 -05:00
|
|
|
def get_outgoing_files(self, diff_filter="ADM", upstream=None):
|
|
|
|
- pass
|
|
|
|
+ return []
|
2023-10-27 07:17:39 -05:00
|
|
|
|
2024-05-15 15:28:16 -05:00
|
|
|
def add_remove_files(self, *paths: Union[str, Path]):
|
|
|
|
pass
|
2024-05-15 16:55:26 -05:00
|
|
|
@@ -993,9 +993,11 @@ class SrcRepository(Repository):
|
|
|
|
"""
|
|
|
|
res = []
|
2024-05-15 16:42:59 -05:00
|
|
|
# move away the .git or .hg folder from path to more easily test in a hg/git repo
|
2024-05-15 16:55:26 -05:00
|
|
|
- for root, dirs, files in os.walk("."):
|
|
|
|
+ for root, dirs, files in os.walk(path):
|
2024-05-15 16:42:59 -05:00
|
|
|
for name in files:
|
|
|
|
- res.append(os.path.join(root, name))
|
|
|
|
+ res.append(
|
|
|
|
+ os.path.relpath(os.path.join(root, name), path).replace("\\", "/")
|
|
|
|
+ )
|
|
|
|
return res
|
2023-10-27 07:17:39 -05:00
|
|
|
|
2024-05-15 16:42:59 -05:00
|
|
|
def get_tracked_files_finder(self, path):
|