zu initialisieren, wenn ich versuche CM13 Quellen zu synchronisieren, ich diesen Fehler:Repo-Sync nicht CM13 Arbeit Baum
[email protected]:~/android/cm13$ repo sync -l
Syncing work tree: 67% (344/512) fatal: This operation must be run in a work tree
Traceback (most recent call last):
File "/home/panos/android/cm13/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/panos/android/cm13/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/panos/android/cm13/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/panos/android/cm13/.repo/repo/subcmds/sync.py", line 769, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/panos/android/cm13/.repo/repo/project.py", line 1247, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/home/panos/android/cm13/.repo/repo/project.py", line 2393, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
... und hier ist "Repo --trace sync -l"
: export GIT_DIR=/home/panos/android/cm13/.repo/projects/hardware/qcom/audio-caf/msm8996.git
: git rev-parse --verify refs/remotes/github/cm-13.0-caf-8996^0 1>| 2>|
: cd /home/panos/android/cm13/hardware/qcom/audio-caf/msm8996
: git read-tree --reset -u -v HEAD 1>| 2>|
fatal: This operation must be run in a work tree
Traceback (most recent call last):
File "/home/panos/android/cm13/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/panos/android/cm13/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/panos/android/cm13/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/panos/android/cm13/.repo/repo/subcmds/sync.py", line 769, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/panos/android/cm13/.repo/repo/project.py", line 1247, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/home/panos/android/cm13/.repo/repo/project.py", line 2393, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
Ich habe bereits "repo sync" wiederholt (was Sie sehen, ist "repo sync -l", die nur den Baum lokal synchronisiert)
Jede Hilfe wird sehr geschätzt. Vielen Dank im Voraus: D
Funktioniert. Ausgezeichnet. – Menasheh
Funktioniert gut! Vielen Dank! –