-
Notifications
You must be signed in to change notification settings - Fork 9
Can't change lime-packages branch when old branch has been deleted #4
Comments
as a temporary workaround you can run |
I already solved removing the |
Seems a nice idea to have a pull request fixing this, although I am not lime-build expert Pau and Gui should review your PR Cheers! |
Today I had somewhat the opposite problem, I moved from develop to testing/16.07 lime-build branch without running a make clean.
and the output was:
This happened because a git checkout to the new branch was issued before the pull, so the branch didn't exist yet. |
|I think cd build/lime-packages && git pull origin ||testing/16.07| && |git Should solve the issue, but I have not tested it. Thanks. On 25/07/16 12:25, Ilario Gelmetti wrote:
|
Seems ok, but I suspect we will find more corner cases breaking this in the future. |
On 25/07/16 16:06, Ilario Gelmetti wrote:
git remote update && git checkout whatever-new-branch should solve it in a "proper" way
|
Should have been fixed in fb64a79. |
Yesterday I compiled from lime-packages branch sandbox/vlanzero.
Then today I tried to compile from branch develop but I got an error.
The problem is that the sandbox/vlanzero has been deleted (branches are deleted quite often from lime-packages) but lime-build tries to fetch the old branch even if a new one is specified.
cd lime-build
git checkout develop
git pull
make T=tl-wdr3600 LIME_GIT_BRANCH=develop UPDATE=1 build
Updating LiMe repository (cd build/lime-packages && git pull && git checkout develop && git pull origin develop) Your configuration specifies to merge with the ref 'refs/heads/sandbox/vlanzero' from the remote, but no such ref was fetched. Makefile:194: recipe for target 'checkout' failed make: *** [checkout] Error 1
Seems that this is caused by the first
git pull
on this line.The text was updated successfully, but these errors were encountered: