textmate Mercurial 捆绑包 - 推送不起作用

发布于 2024-08-18 20:11:46 字数 343 浏览 5 评论 0原文

不是一个真正的编程问题,但我找不到其他地方可以问它,而且这里肯定有人也使用这个问题。

我安装了 Mercurial.tmbundle,除了“推送到默认存储库”之外,一切似乎都工作正常 我有一个默认的存储库设置(bitbucket),仅使用该命令

hg push

就可以完全达到人们的预期,但是当我尝试通过 Textmate 执行此操作时,它只会出现一个小进度条和文本“访问父存储库...”和1 秒后就消失了。 由于没有密码,因此无法推送。我检查过,bitbucket 上确实没有新的提交。 我需要配置什么吗?如果你能做到这一点,那么请告诉你你做了什么才能让它发挥作用。任何建议都会有帮助。

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 cannot 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一指流沙 2024-08-25 20:11:46

正如 RyanWilcox 所建议的,hg 必须等待密码。尝试使用以下语法并查看它是否有效: hg push http://userid:[电子邮件受保护]/yourhg/。如果是这样,并且您并不偏执,您可以将其设置为 hgrc 中的默认路径。

编辑:将其添加到您的 hgrc 中并保留默认路径:

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

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:[email protected]/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
春风十里 2024-08-25 20:11:46

当您按下命令行时,它会要求您输入密码吗?

也许当您通过捆绑包运行它时要求输入密码并且此时出现错误?

也许 console.app 可以为您提供有用的日志消息?

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文