rahedges / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

AttributeError in manifest_xml.py #150

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
line 681, in _ParseProject
    dest_branch = node.getAttribute('dest-branch') or self._default.destBranchExpr
AttributeError: '_Default' object has no attribute 'destBranchExpr'

Steps to duplicate are unknown at this time.

Original issue reported on code.google.com by cco3@android.com on 25 Sep 2013 at 9:25

GoogleCodeExporter commented 9 years ago
FWIW my workaround was to edit manifest_xml.py as follows:

class _Default(object):
  """Project defaults within the manifest."""

  revisionExpr = None
+ destBranchExpr = None
  remote = None

Original comment by rjogr...@google.com on 25 Sep 2013 at 9:36

GoogleCodeExporter commented 9 years ago
https://gerrit-review.googlesource.com/#/c/50121/

Original comment by cco3@android.com on 25 Sep 2013 at 10:07

GoogleCodeExporter commented 9 years ago

Original comment by cco3@android.com on 26 Sep 2013 at 4:15