Skip to content

Conversation

@xenual
Copy link
Contributor

@xenual xenual commented Jun 4, 2021

Cargo looks for a "master" branch, but bevy changed it's convention to "main" causing the following error:

error: failed to get `bevy` as a dependency of package `xxx`

Caused by:
  failed to load source for dependency `bevy`

Caused by:
  Unable to update https://github.com/bevyengine/bevy

Caused by:
  failed to find branch `master`

Caused by:
  cannot locate remote-tracking branch 'origin/master'; class=Reference (4); code=NotFound (-3)

This change suggested by @mockersf fixes that.

@cart
Copy link
Member

cart commented Jun 7, 2021

Good call!

@cart
Copy link
Member

cart commented Jun 7, 2021

Its worth noting that this should be fixed by rust-lang/cargo#9133

@cart cart merged commit 35fd120 into bevyengine:master Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants