mirror of
https://codeberg.org/librewolf/source.git
synced 2025-01-03 03:10:07 -05:00
fix bootstrap patch for windows
This commit is contained in:
parent
6d1107950b
commit
11c1b8117c
1 changed files with 8 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
def update_git_tools(git, root_state_dir):
|
def update_git_tools(git, root_state_dir):
|
||||||
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
|
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
|
||||||
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
||||||
@@ -672,6 +672,21 @@ class GitRepository(Repository):
|
@@ -672,6 +672,27 @@ class GitRepository(Repository):
|
||||||
self._run("config", name, value)
|
self._run("config", name, value)
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,8 +27,14 @@
|
||||||
+ def head_ref(self):
|
+ def head_ref(self):
|
||||||
+ return ""
|
+ return ""
|
||||||
+
|
+
|
||||||
|
+ def get_outgoing_files(self):
|
||||||
|
+ return []
|
||||||
|
+
|
||||||
|
+ def get_changed_files(self):
|
||||||
|
+ return []
|
||||||
|
+
|
||||||
+ def get_tracked_files_finder(self):
|
+ def get_tracked_files_finder(self):
|
||||||
+ files = [os.path.relpath(os.path.join(dp, f), self.path) for dp, dn, fn in os.walk(self.path) for f in fn]
|
+ files = [os.path.relpath(os.path.join(dp, f), self.path).replace("\\","/") for dp, dn, fn in os.walk(self.path) for f in fn]
|
||||||
+ files.sort()
|
+ files.sort()
|
||||||
+ return FileListFinder(files)
|
+ return FileListFinder(files)
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue