mirror of
https://codeberg.org/librewolf/source.git
synced 2025-01-03 03:10:07 -05:00
fix bootstrap-without-vcs.patch
This commit is contained in:
parent
50f5a05294
commit
1fa7aa60ce
1 changed files with 26 additions and 11 deletions
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
--- a/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
--- a/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
||||||
+++ b/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
+++ b/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
||||||
@@ -495,6 +495,56 @@ class GitRepository(Repository):
|
@@ -495,6 +495,71 @@ class GitRepository(Repository):
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|
||||||
|
@ -75,39 +75,54 @@
|
||||||
+ def head_ref(self):
|
+ def head_ref(self):
|
||||||
+ return ""
|
+ return ""
|
||||||
+
|
+
|
||||||
+ @property
|
|
||||||
+ def get_outgoing_files(self):
|
+ def get_outgoing_files(self):
|
||||||
+ return []
|
+ return []
|
||||||
+
|
+
|
||||||
+ @property
|
|
||||||
+ def get_changed_files(self):
|
+ def get_changed_files(self):
|
||||||
+ return []
|
+ return []
|
||||||
+
|
+
|
||||||
+ @property
|
|
||||||
+ def base_ref(self):
|
+ def base_ref(self):
|
||||||
+ raise Exception("Unimplemented")
|
+ raise Exception("Unimplemented")
|
||||||
+
|
+
|
||||||
+ @property
|
|
||||||
+ def branch(self):
|
+ def branch(self):
|
||||||
+ raise Exception("Unimplemented")
|
+ raise Exception("Unimplemented")
|
||||||
+
|
+
|
||||||
+ @property
|
|
||||||
+ def get_commit_message(self):
|
+ def get_commit_message(self):
|
||||||
+ raise Exception("Unimplemented")
|
+ raise Exception("Unimplemented")
|
||||||
+
|
+
|
||||||
+ @property
|
|
||||||
+ def get_url(self):
|
+ def get_url(self):
|
||||||
+ return ""
|
+ return ""
|
||||||
+
|
+
|
||||||
+ @property
|
|
||||||
+ def update(self):
|
+ def update(self):
|
||||||
+ raise Exception("Unimplemented")
|
+ raise Exception("Unimplemented")
|
||||||
+
|
+
|
||||||
+ @property
|
|
||||||
+ def working_directory_clean(self):
|
+ def working_directory_clean(self):
|
||||||
+ raise Exception("Unimplemented")
|
+ raise Exception("Unimplemented")
|
||||||
+
|
+
|
||||||
+ @property
|
+ def all_remote_names(self):
|
||||||
|
+ raise Exception("Unimplemented")
|
||||||
|
+
|
||||||
|
+ def base_rev(self):
|
||||||
|
+ raise Exception("Unimplemented")
|
||||||
|
+
|
||||||
|
+ def default_branch(self):
|
||||||
|
+ raise Exception("Unimplemented")
|
||||||
|
+
|
||||||
|
+ def default_remote_name(self):
|
||||||
|
+ raise Exception("Unimplemented")
|
||||||
|
+
|
||||||
|
+ def does_revision_exist_locally(self):
|
||||||
|
+ raise Exception("Unimplemented")
|
||||||
|
+
|
||||||
|
+ def find_latest_common_revision(self):
|
||||||
|
+ raise Exception("Unimplemented")
|
||||||
|
+
|
||||||
|
+ def head_rev(self):
|
||||||
|
+ raise Exception("Unimplemented")
|
||||||
|
+
|
||||||
|
+ def remote_name(self):
|
||||||
|
+ raise Exception("Unimplemented")
|
||||||
|
+
|
||||||
+ def get_tracked_files_finder(self):
|
+ def get_tracked_files_finder(self):
|
||||||
+ files = [
|
+ files = [
|
||||||
+ os.path.relpath(os.path.join(dp, f), self.path).replace("\\", "/")
|
+ os.path.relpath(os.path.join(dp, f), self.path).replace("\\", "/")
|
||||||
|
@ -121,7 +136,7 @@
|
||||||
def get_repository(path):
|
def get_repository(path):
|
||||||
"""Get a repository object for the repository at `path`.
|
"""Get a repository object for the repository at `path`.
|
||||||
If `path` is not a known VCS repository, raise an exception.
|
If `path` is not a known VCS repository, raise an exception.
|
||||||
@@ -505,7 +555,7 @@ def get_repository(path):
|
@@ -505,7 +570,7 @@ def get_repository(path):
|
||||||
elif os.path.exists(os.path.join(path, ".git")):
|
elif os.path.exists(os.path.join(path, ".git")):
|
||||||
return GitRepository(path)
|
return GitRepository(path)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue