Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dependency error #170

Merged
merged 1 commit into from
Jun 7, 2021
Merged

Fix dependency error #170

merged 1 commit into from
Jun 7, 2021

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