|
发表于 2022-4-7 12:29:46
只看该作者
10#
本帖最后由 FLLFFL 于 2022-4-7 13:21 编辑
我在ubuntu18.04下执行.repo/repo/repo sync -l ,还是No such file or directory,而且不提示到底是哪里No such file or directory
decatur@ubuntu:~/rockchipSDK/rv1126_rv1109_linux_release_20211022$ ./.repo/repo/repo --trace sync -l
: parsing /home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/manifests.git/config
: git config --file /home/decatur/.gitconfig --null --list 1>| 2>|
Traceback (most recent call last):
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/main.py", line 158, in _Run
copts, cargs = cmd.OptionParser.parse_args(argv)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/command.py", line 67, in OptionParser
self._Options(self._optparse)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/subcmds/sync.py", line 189, in _Options
self.jobs = self.manifest.default.sync_j
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/manifest_xml.py", line 360, in default
self._Load()
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/manifest_xml.py", line 400, in _Load
b = m.GetBranch(m.CurrentBranch).merge
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/project.py", line 814, in GetBranch
return self.config.GetBranch(name)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 200, in GetBranch
b = Branch(self, name)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 729, in __init__
self.remote = self._config.GetRemote(r)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 190, in GetRemote
r = Remote(self, name)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 575, in __init__
self.pushUrl = self._Get('pushurl')
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 716, in _Get
return self._config.GetString(key, all_keys = all_keys)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 134, in GetString
return self.defaults.GetString(name, all_keys = all_keys)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 131, in GetString
v = self._cache[_key(name)]
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 248, in _cache
self._cache_dict = self._Read()
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 254, in _Read
d = self._ReadGit()
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 296, in _ReadGit
d = self._do('--null', '--list')
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_config.py", line 321, in _do
capture_stderr = True)
File "/home/decatur/rockchipSDK/rv1126_rv1109_linux_release_20211022/.repo/repo/git_command.py", line 238, in __init__
raise GitError('%s: %s' % (command[1], e))
error.GitError: config: [Errno 2] No such file or directory
|
|