Compile error Recording to error.GitError


#1

[ 91% 198/216] build out/target/produc…nifests/manifest-2018-08-15–21-01.xml
FAILED: /bin/bash -c “(mkdir -p out/target/product/kvim/upgrade ) && (repo manifest -r -o out/target/product/kvim/manifests/manifest-2018-08-15–21-01.xml ) && (cp out/target/product/kvim/manifests/manifest-2018-08-15–21-01.xml out/target/product/kvim/upgrade/manifest.xml )”
Traceback (most recent call last):
File “/android_box_7.1/.repo/repo/main.py”, line 531, in
_Main(sys.argv[1:])
File “/android_box_7.1/.repo/repo/main.py”, line 507, in _Main
result = repo._Run(argv) or 0
File “/android_box_7.1/.repo/repo/main.py”, line 180, in _Run
result = cmd.Execute(copts, cargs)
File “/android_box_7.1/.repo/repo/subcmds/manifest.py”, line 80, in Execute
self._Output(opt)
File “/android_box_7.1/.repo/repo/subcmds/manifest.py”, line 70, in _Output
peg_rev_upstream = opt.peg_rev_upstream)
File “/android_box_7.1/.repo/repo/manifest_xml.py”, line 327, in Save
output_projects(None, root, list(sorted(projects)))
File “/android_box_7.1/.repo/repo/manifest_xml.py”, line 241, in output_projects
output_project(parent, parent_node, project)
File “/android_box_7.1/.repo/repo/manifest_xml.py”, line 268, in output_project
value = p.work_git.rev_parse(HEAD + ‘^0’)
File “/android_box_7.1/.repo/repo/project.py”, line 2747, in runner
(self._project.name, name, p.stderr))
error.GitError: android_art rev-parse: fatal: ambiguous argument ‘HEAD^0’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’

how can i cancel repo or git when i compile, i had used my “art” , so this problem came out. How to solve it