标签:时报 origin ase ack str 报错 bak check ups
答: 替换--set-upstream为--set-upstream-to, 示例如下:
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -326,7 +326,7 @@ class Git(FetchMethod):
branchname = ud.branches[ud.names[0]]
runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, ud.revisions[ud.names[0]]), d, workdir=destdir)
- runfetchcmd("%s branch --set-upstream %s origin/%s" % (ud.basecmd, branchname, + runfetchcmd("%s branch %s --set-upstream-to origin/%s" % (ud.basecmd, branchname, branchname), d, workdir=destdir)
else:
runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=destdir)
标签:时报 origin ase ack str 报错 bak check ups
原文地址:https://www.cnblogs.com/dakewei/p/12983757.html