开发者

textmate mercurial bundle - push not working

not really a programming question, but I cant find anywhere else to ask it and there is bound to be someone in here using this as well.

I got the mercurial.tmbundle installed and everything seems to be working fine with the exception of "Push to default repo" I have a default repo setup (bitbucket) and just using the command

hg push

does exactly what one would expect, but when I try to do it via Textmate it just comes up with a little progressbar and the text "Accessing Parent Repository..." and that just disappears after 1 sec. It cann开发者_JAVA技巧ot be pushing since it has no password. I have checked and there is indeed no new commits on bitbucket. Is there something I need to configure? If you have this working then please do tell what you did to make it work. Any suggestions would be helpfull.


As suggested by RyanWilcox, hg must be waiting for a password. Try using the following syntax and see if it works: hg push http://userid:passwd@bitbucket.org/yourhg/. If so, and you're not paranoid, you may set this as the default path in your hgrc.

EDIT: add this in your hgrc and leave your default path alone:

foo.prefix = bitbucket.org/yourhg/
foo.username = userid
foo.password = passwd
foo.schemes = http https


When you push on the command line does it ask you for a password?

Maybe it's asking for a password when you run it via the bundle and it's erroring at that point?

Maybe console.app can give you a useful log message?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜