Hi,
I tried to run bench update
on my test environment and got an error:
aditya@erpnext:~/frappe-bench$ bench update --no-backup
INFO:bench.utils:updating bench
fatal: Couldn't find remote ref refs/heads/develop
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench', 'console_scripts', 'bench')()
File "/home/aditya/.bench/bench/cli.py", line 40, in cli
bench_command()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/aditya/.bench/bench/commands/update.py", line 34, in update
update_bench()
File "/home/aditya/.bench/bench/utils.py", line 230, in update_bench
exec_cmd("git pull", cwd=cwd)
File "/home/aditya/.bench/bench/utils.py", line 130, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git pull
On further analysis, I found out that the develop branch has been removed from bench repo is this deliberate or by mistake?