$ repo sync -d -c<snip>Fetching projects: 98% (517/527) Fetching project platform/hardware/intel/common/bd_provFetching project platform/frameworks/opt/timezonepickerFetching project platform/external/libyuvFetching project platform/packages/apps/TagFetching project platform/frameworks/webviewFetching projects: 100% (527/527), done.info: A new version of repo is availableproject .repo/repo/Updating 97836cf..4e16c24Fast-forwardproject.py | 82 +++++++++++++++++++++++++++++++++++++++++++-------------------1 file changed, 57 insertions(+), 25 deletions(-)info: Restarting repo with latest versionFetching project platform/hardware/qcom/gpsFetching project platform/external/blktraceFetching project platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6Fetching project platform/external/fsck_msdosFetching project platform/external/dhcpcd<snip>Fetching project platform/external/jheadFetching project platform/external/libpcapFetching project platform/external/gcc-demangleFetching project platform/packages/apps/GalleryException in thread Thread-117:Traceback (most recent call last):File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_innerself.run()File "/usr/lib/python2.7/threading.py", line 763, in runself.__target(*self.__args, **self.__kwargs)File "/opt/git/android-5.1-platform/.repo/repo/subcmds/sync.py", line 244, in _FetchProjectListsuccess = self._FetchHelper(opt, project, *args, **kwargs)File "/opt/git/android-5.1-platform/.repo/repo/subcmds/sync.py", line 286, in _FetchHelperoptimized_fetch=opt.optimized_fetch)File "/opt/git/android-5.1-platform/.repo/repo/project.py", line 1143, in Sync_NetworkHalfself._InitGitDir()File "/opt/git/android-5.1-platform/.repo/repo/project.py", line 2183, in _InitGitDirself._CheckDirReference(self.objdir, self.gitdir, share_refs=False)File "/opt/git/android-5.1-platform/.repo/repo/project.py", line 2304, in _CheckDirReferenceraise GitError('cannot overwrite a local work tree')GitError: cannot overwrite a local work treeerror: Exited sync due to fetch errors
$ repo sync --force-broken --current-branch --detach
> Also, is the use of a 'local_manifest' XML part of a "smoke test" before these new Python files are released?
No, they are just for additional projects you want to sync.
Use "repo sync --force-sync".
This will delete the projects that fail the consistency check and then recreate them.
Beware that any local branches or remotes in those directories will be deleted.
-James M
Hello, I try to use flag but I still get the error:Fetching projects: 97% (353/363)
error: Exited sync due to fetch errors
Then I try to use : repo sync, I getGitError: --force-sync not enabled; cannot overwrite a local work treeFetching projects: 4% (15/363)
error: Exited sync due to fetch errors
Can anyone help me as soon as possible?