0

我有一个本地 IntelliJ IDEA 项目,该项目配置为在 bitbucket.org 上使用 Mercurial 版本控制。我可以在本地提交文件 (Ctrl+K) 并注册我的更改,但是当我尝试推送 (Ctrl+Shift+K) 时,它永远不会完成。

我之前已经成功地提交/推送了对这个 bitbucket 存储库的更改。IDEA v13.1.2 (135.690) 发生了“推送中的挂起”,但我回滚到 v13.1 (135.667) 版本,我遇到了同样的事情。我最后一次成功推送是2014-03-21。

“后台任务”窗格显示“正在推送...”状态。有时,“检查​​传入和传出更改...”状态会在其下方弹出。

我的版本控制控制台看起来像......

hg.exe branches 
hg.exe incoming --template {rev}{node}{author}{desc|firstline} --quiet --newest-first
hg.exe outgoing --template {rev}{node}{author}{desc|firstline} --quiet --newest-first
hg.exe push https://myUserName@bitbucket.org/myUserName/myProjectName
hg.exe incoming --template {rev}{node}{author}{desc|firstline} --quiet --newest-first
hg.exe outgoing --template {rev}{node}{author}{desc|firstline} --quiet --newest-first
hg.exe incoming --template {rev}{node}{author}{desc|firstline} --quiet --newest-first
hg.exe outgoing --template {rev}{node}{author}{desc|firstline} --quiet --newest-first
...

我首先使用 JetBrains 打开了一张支持票 ( https://intellij-support.jetbrains.com/requests/27715 ),但他们的电子邮件建议可能在这里寻求帮助。

4

1 回答 1

0

我收到了 JetBrains 的回复,并希望解决我的问题。

作为一种解决方法,我创建了一个%HOME%\.hgrc文件并在其中包含了我的身份验证信息。

[auth]
bb.prefix = https://bitbucket.org
bb.username = {username}
bb.password = {password}

也可以看看,

于 2014-04-24T14:47:51.853 回答