diff options
Diffstat (limited to 'manifest_xml.py')
| -rw-r--r-- | manifest_xml.py | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/manifest_xml.py b/manifest_xml.py index 66cdf3e3..45896be9 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
| @@ -169,6 +169,12 @@ class XmlManifest(Manifest): | |||
| 169 | self._Load() | 169 | self._Load() | 
| 170 | return self._default | 170 | return self._default | 
| 171 | 171 | ||
| 172 | def InitBranch(self): | ||
| 173 | m = self.manifestProject | ||
| 174 | if m.CurrentBranch is None: | ||
| 175 | return m.StartBranch('default') | ||
| 176 | return True | ||
| 177 | |||
| 172 | def SetMRefs(self, project): | 178 | def SetMRefs(self, project): | 
| 173 | if self.branch: | 179 | if self.branch: | 
| 174 | project._InitAnyMRef(R_M + self.branch) | 180 | project._InitAnyMRef(R_M + self.branch) | 
