--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
On Sat, Sep 22, 2018 at 7:27 PM Emmanuel Charpentier
<emanuel.c...@gmail.com> wrote:
>
> Thanks, Dimitri !
>
> But I'm not out of the woods : I do not know how to delete this branch. Git tells me it doesn't know about it :
>
> charpent@asus16-ec:/usr/local/sage-8$ git branch -d u/embray/python3/sage-rings-polynomial-polydict
> error: branche 'u/embray/python3/sage-rings-polynomial-polydict' non trouvée.
and how about u/embray/python3/sage-rings-polynomial-polydict/misc ?
Does it exist? If yes, I'd try removing it and pull again...
And, by the way, what is the remote you are pulling from?
Try$ git branch -d origin/u/embray/python3/sage-rings-polynomial-polydict
You wouldn't have the above branch without "origin" unless you created a remote tracking branch. It's only remote branches which you're having a problem with
(note: this happened because I had an older branch named u/embray/python3/sage-rings-polynomial-polydict, which I deleted, but then I added a new branch called ...polydict/misc, and git gets ornery about cases like that).Also, if I were you, I'd update my remote refspec to only fetch your own branches. E.g., I only sync my branches by default like[remote "origin"]
url = g...@git.sagemath.org:sage.git
fetch = +refs/heads/u/embray/*:refs/remotes/u/embrayIn the (typically less common) case where you want to fetch someone else's branch you can still give the branch name manually with the `git fetch` command.
Try "git remote prune origin" or "git remote update origin --prune"
Explanation: You only have a stale remote reference reference, this is slightly different from Dima's problem who had the branch locally checked out. The "git branch -d" only deletes local branches. You need to prune the cached view of the remote repository instead.
Read-only mirror of all the branches that are on trac.sagemath.org
Mirrored from git://git.sagemath.org/sage.git.
The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .