Bug 1896978 - Return empty list of changed files instead of nothing in SrcRepository r=ahochheiden

Differential Revision: https://phabricator.services.mozilla.com/D210561
This commit is contained in:
Malte Juergens 2024-05-29 20:16:14 +00:00
parent 9490594d92
commit 0e75d256d4

View file

@ -985,10 +985,10 @@ class SrcRepository(Repository):
pass
def get_changed_files(self, diff_filter="ADM", mode="unstaged", rev=None):
pass
return []
def get_outgoing_files(self, diff_filter="ADM", upstream=None):
raise MissingUpstreamRepo("Unknown Upstream")
return []
def add_remove_files(self, *paths: Union[str, Path]):
pass