On Nov 19, 9:35 am, sudharsan chandrababu <meetsudhar...@gmail.com> wrote:
> I have mirrored the google android code and modified the manifest xml > file to point to my local server to fetch the android code. > > When i try repo init <git url> -b <branch name> i am getting the > following error > ------------------------------------------------------------------------------ > * [new tag] android-1.0 -> android-1.0 > Traceback (most recent call last): > File "/tmp/test/.repo/repo/main.py", line 235, in ? > _Main(sys.argv[1:]) > File "/tmp/test/.repo/repo/main.py", line 217, in _Main > repo._Run(argv) > File "/tmp/test/.repo/repo/main.py", line 123, in _Run > cmd.Execute(copts, cargs) > File "/tmp/test/.repo/repo/subcmds/init.py", line 220, in Execute > self._LinkManifest(opt.manifest_name) > File "/tmp/test/.repo/repo/subcmds/init.py", line 145, in > _LinkManifest > self.manifest.Link(name) > File "/tmp/test/.repo/repo/manifest_xml.py", line 86, in Link > self.Override(name) > File "/tmp/test/.repo/repo/manifest_xml.py", line 79, in Override > self._Load() > File "/tmp/test/.repo/repo/manifest_xml.py", line 207, in _Load > self._ParseManifest(True) > File "/tmp/test/.repo/repo/manifest_xml.py", line 225, in > _ParseManifest > root = xml.dom.minidom.parse(self.manifestFile) > File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", > line 1915, in parse > return expatbuilder.parse(file) > File "/usr/lib/python2.4/site-packages/_xmlplus/dom/ > expatbuilder.py", line 926, in parse > result = builder.parseFile(fp) > File "/usr/lib/python2.4/site-packages/_xmlplus/dom/ > expatbuilder.py", line 207, in parseFile > parser.Parse(buffer, 0) > xml.parsers.expat.ExpatError: not well-formed (invalid token): line 5, > column 2 First, Android uses custom wrapper around Git; clearly this is an error reported by this wrapper as Git itself does not use XML anywhere to my knowledge. Hence you should ask for support on gerrit (or whatever it is named) on resources concerned with supporting that tool. On the other hand, at the bottom of the stack there's an Expat error; Expat is an XML parser, and "not well-formed" most probably means that you botched that XML config while editing it so its XML became, well, not well-formed (pun intended). -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-us...@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.