Trouble Pushing to trac

67 views
Skip to first unread message

Rebecca Miller

unread,
Jun 14, 2016, 2:09:40 PM6/14/16
to sage-devel
I'm getting the errors when I try to push to my new ticket? Thoughts?

error: src refspec 20820 does not match any.

error: failed to push some refs to 'g...@trac.sagemath.org:sage.git'


Thanks, 


Rebecca

Paul Masson

unread,
Jun 14, 2016, 2:33:29 PM6/14/16
to sage-devel

Rebecca Miller

unread,
Jun 14, 2016, 2:47:38 PM6/14/16
to sage-devel
Yes.

On Tuesday, June 14, 2016 at 1:33:29 PM UTC-5, Paul Masson wrote:
Did you commit?

http://stackoverflow.com/questions/4181861/src-refspec-master-does-not-match-any-when-pushing-commits-in-git

Rebecca Miller

unread,
Jun 14, 2016, 2:47:46 PM6/14/16
to sage-...@googlegroups.com
Yes I did.

On Tue, Jun 14, 2016 at 1:33 PM, Paul Masson <paulm...@comcast.net> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/xZc8IFAqfg0/unsubscribe.
To unsubscribe from this group and all its topics, 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.

Dima Pasechnik

unread,
Jun 14, 2016, 2:48:59 PM6/14/16
to sage-devel
what are the commands you did?

Rebecca Miller

unread,
Jun 14, 2016, 2:58:08 PM6/14/16
to sage-...@googlegroups.com
So I checked my log and the commit is in there. I juts did Git push trac 20820, which is my ticket number. 
I've always used this command before. Now I did have to rebuild my sage from scratch after the last beta, because it rewuired I update my operating System.
Thanks, 
Rebecca

Dima Pasechnik

unread,
Jun 14, 2016, 3:07:18 PM6/14/16
to sage-devel


On Tuesday, June 14, 2016 at 7:58:08 PM UTC+1, Rebecca Miller wrote:
So I checked my log and the commit is in there. I juts did Git push trac 20820, which is my ticket number. 
normally it would look something like

git push trac HEAD:u/rlmiller/20820

This would create or update a branch named u/rlmiller/20820
on trac, which should be a shorthand for
g...@trac.sagemath.org:sage.git 

(as you could see by doing 
git remote -v)

Well, it could be that you meant to use git trac extension, i.e.

git trac push ...


(trac and push don't commute :-))

Vincent Delecroix

unread,
Jun 14, 2016, 3:14:12 PM6/14/16
to sage-...@googlegroups.com
"git push trac" or "git trac push"? The former is a standard git command
(refering to a remote "trac") while the second calls the command "push"
of the trac plugin...

Rebecca Miller

unread,
Jun 14, 2016, 3:21:23 PM6/14/16
to sage-...@googlegroups.com
I mean to do git trac push ticket #, but it says that trac is not a git command. Could this have anything to do with my major rebuild?

Vincent Delecroix

unread,
Jun 14, 2016, 3:34:52 PM6/14/16
to sage-...@googlegroups.com
Which git are you using? The one from your system or the one from Sage?
One possible way to get the answer it is to run

$ which git

Depending on your configuration, a complete Sage rebuild might have
disable the trac plugin. You can try to follow the instructions at

http://doc.sagemath.org/html/en/developer/git_trac.html

Vincent

Rebecca Miller

unread,
Jun 14, 2016, 3:44:16 PM6/14/16
to sage-...@googlegroups.com
It worked! I must have disabled the trac pluggin.

Thanks!
Reply all
Reply to author
Forward
0 new messages