gpt4 book ai didi

git - 获取 Chrome 不起作用

转载 作者:太空狗 更新时间:2023-10-29 14:14:53 24 4
gpt4 key购买 nike

fetch chromium --nosvn=True 指令出错如下:

`C:\Users\Gunwoo\workspace\chromium>fetch chromium --nosvn=True
Cannot rebase: You have unstaged changes.
Please commit or stash them.
Running: svn ls --non-interactive svn://svn.chromium.org/chrome
Traceback (most recent call last):
File "E:\depot_tools\\fetch.py", line 253, in <module>
sys.exit(main())
File "E:\depot_tools\\fetch.py", line 249, in main
return run(dryrun, spec, root)
File "E:\depot_tools\\fetch.py", line 243, in run
return checkout.init()
File "E:\depot_tools\\fetch.py", line 108, in init
self.run_svn('ls', '--non-interactive', svn_spec['svn_url'])
File "E:\depot_tools\\fetch.py", line 83, in run_svn
return subprocess.check_call(('svn',) + cmd, **kwargs)
File "E:\depot_tools\python_bin\lib\subprocess.py", line 457, in check_call
retcode = call(*popenargs, **kwargs)
File "E:\depot_tools\python_bin\lib\subprocess.py", line 444, in call
return Popen(*popenargs, **kwargs).wait()
File "E:\depot_tools\python_bin\lib\subprocess.py", line 595, in __init__
errread, errwrite)
File "E:\depot_tools\python_bin\lib\subprocess.py", line 804, in _execute_child startupinfo)
WindowsError: [Error 2]`

I installed depot_tools and included its PATH into system environment variable.

我该怎么办?

最佳答案

我在我的 Windows 机器上遇到了同样的问题,“git 状态”显示 depot_tools 中的一堆文件已修改。可能您在 depot_tools 中有未暂存的更改。我解决了 git reset --hard HEAD 没有 depot_tools 文件夹。

关于git - 获取 Chrome 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16142942/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com