issue in gclient sync

80 views
Skip to first unread message

harishkant soni

unread,
Jul 2, 2021, 9:08:09 PM7/2/21
to Chromium-dev
Hello,
I have two branches one for chromium 92.0.4515.70 and another for chromium 88.0.4324.182  in the same repository and I git checkout to switch from one branch to another.

I am on branch corresponding to 92.0.4515.70 and I switched to 88.0.4324.182. When I run gclient sync I get the following error :

Error: Command 'git -c core.quotePath=false diff --name-status refs/heads/chromium/4515' returned non-zero exit status 128 in C:\officeWork\inrBuild\chromium\src\third_party\vulkan-deps
fatal: ambiguous argument 'refs/heads/chromium/4515': unknown revision or path not in the working tree.

The folder third_party\vulkan-deps was not available in 88.0.4324.182 it is added later.

Kindly help me so solve this error.

harishkant soni

unread,
Jul 2, 2021, 9:08:33 PM7/2/21
to Chromium-dev
Hello,
I have two branches one for 88.0.4324.182 and another for 92.0.4515.40 in the same local git repository. There is a folder called third-party/vulkan-deps in 92.0.4515.40 but not available in 88.0.4324.182. 
Currently I am on branch for 92.0.4515.40. At this time the .gclient_entries have this entry for vulkan_deps .
Picture1.png
Now,  I checked out to the branch for 88.0.4324.182 and run gclient sync -D and I get this error : -
Error: Command 'git -c core.quotePath=false diff --name-status refs/heads/chromium/4515' returned non-zero exit status 128 in C:\officeWork\inrBuild\chromium\src\third_party\vulkan-deps    
fatal: ambiguous argument 'refs/heads/chromium/4515': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'


Could you tell me what's going wrong here?

Reply all
Reply to author
Forward
0 new messages