summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2017-05-27 04:24:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-05-27 04:24:58 +0000
commitfbcbcabe9879c5af5b9267bcdf30ee8939dfe9b1 (patch)
treecad44d0577c667f11e2f23432e79cddc54e7a31d /manifest_xml.py
parent666debc5180f806cd31fa12b34a072e45f508e1a (diff)
parente4e94d26ae81dbc9eb6e2f345fac7cd8c533cb9a (diff)
downloadgit-repo-fbcbcabe9879c5af5b9267bcdf30ee8939dfe9b1.tar.gz
Merge "init: add --submodules to sync manifest submodules"
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 0859e1fb..73e34964 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -393,6 +393,10 @@ class XmlManifest(object):
393 def IsArchive(self): 393 def IsArchive(self):
394 return self.manifestProject.config.GetBoolean('repo.archive') 394 return self.manifestProject.config.GetBoolean('repo.archive')
395 395
396 @property
397 def HasSubmodules(self):
398 return self.manifestProject.config.GetBoolean('repo.submodules')
399
396 def _Unload(self): 400 def _Unload(self):
397 self._loaded = False 401 self._loaded = False
398 self._projects = {} 402 self._projects = {}