Page 1 of 1

getting unstaged changes while runiing update.sh

PostPosted: Thu Mar 12, 2020 1:14 am
by ninad3d
I have tried building CEF linux setup multiple times. every time I run update.sh it is giving me error you have some unstaged changes.
I have attached the screenshot for same. Is it because I ran it multiple times?

Any information will be helpful.

Thanks in advance.

Re: getting unstaged changes while runiing update.sh

PostPosted: Thu Mar 12, 2020 11:36 am
by magreenblatt

Re: getting unstaged changes while runiing update.sh

PostPosted: Thu Mar 12, 2020 11:42 pm
by ninad3d
Thank you so much.

Re: getting unstaged changes while runiing update.sh

PostPosted: Thu Jan 26, 2023 12:22 pm
by cppcpp
I am building 5481, git version is the latest and error:

0:00:04] Started.
[0:00:04] Finished running: git config remote.origin.url
[0:00:05] Finished running: git rev-list -n 1 HEAD
[0:00:05] Finished running: git rev-parse --abbrev-ref=strict HEAD
----------------------------------------
Error: 11>
11> ____ src\docs\website at a21816a490b5ed39b53b42b9ac3b60711cc7955d
11> You have unstaged changes.
11> Please commit, stash, or reset.
Traceback (most recent call last):
File "..\automate\automate-git.py", line 1388, in <module>
('--reset ' if discard_local_changes else ''), chromium_dir, depot_tools_dir)
File "..\automate\automate-git.py", line 70, in run
args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
File "C:\Python27\lib\subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'sync', '--nohooks', '--with_branch_heads', '--jobs', '16']' returned non-zero exit status 1