diff --git a/patches/bootstrap-without-vcs.patch b/patches/bootstrap-without-vcs.patch index 128a0f7..a757a8e 100644 --- a/patches/bootstrap-without-vcs.patch +++ b/patches/bootstrap-without-vcs.patch @@ -64,7 +64,7 @@ --- a/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 @@ -75,39 +75,54 @@ + def head_ref(self): + return "" + -+ @property + def get_outgoing_files(self): + return [] + -+ @property + def get_changed_files(self): + return [] + -+ @property + def base_ref(self): + raise Exception("Unimplemented") + -+ @property + def branch(self): + raise Exception("Unimplemented") + -+ @property + def get_commit_message(self): + raise Exception("Unimplemented") + -+ @property + def get_url(self): + return "" + -+ @property + def update(self): + raise Exception("Unimplemented") + -+ @property + def working_directory_clean(self): + 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): + files = [ + os.path.relpath(os.path.join(dp, f), self.path).replace("\\", "/") @@ -121,7 +136,7 @@ def get_repository(path): """Get a repository object for the repository at `path`. 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")): return GitRepository(path)