summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2024-04-11 08:33:55 -0400
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-04-18 02:30:06 +0000
commit9d865454aaf0ea41927332768e55b5b2f56e2533 (patch)
treee0762dcd58be1fafc69e346504ceeafac793ee29 /manifest_xml.py
parentcbd78a91943d1099dad8e285c5adfcf3a269b7ad (diff)
downloadgit-repo-9d865454aaf0ea41927332768e55b5b2f56e2533.tar.gz
gitc: delete a few more dead references
Change-Id: I1da6f2ee799c735a63ac3ca6e5abd1211af10433 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/419217 Reviewed-by: Josip Sokcevic <sokcevic@google.com> Tested-by: Mike Frysinger <vapier@google.com> Commit-Queue: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 4f752122..b26b0cac 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -435,11 +435,6 @@ class XmlManifest:
435 self.parent_groups = parent_groups 435 self.parent_groups = parent_groups
436 self.default_groups = default_groups 436 self.default_groups = default_groups
437 437
438 if outer_client and self.isGitcClient:
439 raise ManifestParseError(
440 "Multi-manifest is incompatible with `gitc-init`"
441 )
442
443 if submanifest_path and not outer_client: 438 if submanifest_path and not outer_client:
444 # If passing a submanifest_path, there must be an outer_client. 439 # If passing a submanifest_path, there must be an outer_client.
445 raise ManifestParseError(f"Bad call to {self.__class__.__name__}") 440 raise ManifestParseError(f"Bad call to {self.__class__.__name__}")
@@ -2290,7 +2285,6 @@ class RepoClient(XmlManifest):
2290 submanifest_path: The submanifest root relative to the repo root. 2285 submanifest_path: The submanifest root relative to the repo root.
2291 **kwargs: Additional keyword arguments, passed to XmlManifest. 2286 **kwargs: Additional keyword arguments, passed to XmlManifest.
2292 """ 2287 """
2293 self.isGitcClient = False
2294 submanifest_path = submanifest_path or "" 2288 submanifest_path = submanifest_path or ""
2295 if submanifest_path: 2289 if submanifest_path:
2296 self._CheckLocalPath(submanifest_path) 2290 self._CheckLocalPath(submanifest_path)