mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 06:22:03 -08:00
17 lines
689 B
Diff
17 lines
689 B
Diff
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
|
|
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
|
@@ -1019,9 +1019,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(path):
|
|
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
|
|
|
|
def get_tracked_files_finder(self, path):
|
|
|