windows partition and made things

repo sync -c
warn: .repo/manifests: Not replacing locally modified commit-msg hook
warn: .repo/manifests: Not replacing locally modified pre-auto-gc hook
Traceback (most recent call last):
File "/media/kaid/38289C23289BDDE6/firefly/linux-sdk-3288/linux-sdk/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/media/kaid/38289C23289BDDE6/firefly/linux-sdk-3288/linux-sdk/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/media/kaid/38289C23289BDDE6/firefly/linux-sdk-3288/linux-sdk/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/media/kaid/38289C23289BDDE6/firefly/linux-sdk-3288/linux-sdk/.repo/repo/subcmds/sync.py", line 724, in Execute
if mp.HasChanges:
File "/media/kaid/38289C23289BDDE6/firefly/linux-sdk-3288/linux-sdk/.repo/repo/project.py", line 2947, in HasChanges
elif self._revlist(not_rev(HEAD), revid):
File "/media/kaid/38289C23289BDDE6/firefly/linux-sdk-3288/linux-sdk/.repo/repo/project.py", line 2501, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/media/kaid/38289C23289BDDE6/firefly/linux-sdk-3288/linux-sdk/.repo/repo/project.py", line 2700, in rev_list
(self._project.name, str(args), p.stderr))
error.GitError: manifests rev-list ('^HEAD', u'89a43518532c4f3b97391e4e5d2a7bb9aec18f0c', '--'): fatal: Not a git repository (or any parent up to mount point /media/kaid/38289C23289BDDE6)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set ).
Above problem because, linux decompressed code used inside the tool extracting window system, then the system which linux, caused for repo sync

-C Sync the repo
Remote: Enumerating Objects: 74, DONE.
Remote: a Counting Objects: 100% (74/74), DONE.
Remote: Compressing Objects: 100% (20/20), DONE.
Remote: the Total 168 (Delta 57 is ), reused 71 (delta 54) , pack-reused 94
received object:. 100% (168/168), 26.43 KiB | 0 bytes / s, done
processing in delta: 100% (98/98), two complete local objects.
from https://github.com/FireflyTeam/manifests
2875c5e..89a4351 Linux-SDK -> Origin / Linux-SDK
error: the contains Uncommitted Changes: .repo / manifests /

The above problem is extracting the code in linux system inside, but to extract the windows system's file system which caused

Linux system which must be unpacked, but also to extract to linux file system partition, it can be a normal repo sync

7z x xxx.7z

xxx directory after completion

git clone https://github.com/FireflyTeam/repo.git

Download repo source package

Do more than merely recorded for subsequent exclusion of

Guess you like

Origin blog.51cto.com/kaiyuan/2429384