从 bitbucket 拉取时如何在 TortoiseHg 中提示输入密码
我使用 BitBucket 作为我的项目的私有存储库。
当我克隆或推送更改集到存储库中时,系统会提示输入密码(我输入密码,一切正常)。
问题是当我试图进行更改时。 系统不会要求我输入密码,并且在工作台控制台中收到以下响应。
% hg --repository local_repository_path fetch --verbose https://[email protected]/project
fetch
[command returned code 255 Sat Dec 31 18:19:42 2011]
如果我在 cmd 中转到本地存储库并输入“hg pull”,我会收到输入密码的提示,并且拉取成功。
谁能向我解释一下如何在工作台上完成这项工作。
非常感谢。
I am using BitBucket as a private repository for my project.
When i clone or push change sets into the repository i am prompt for password (i enter the password and everything works fine).
The problem is when i am trying to pull changes.
I am not asked for password and i get the following response in the workbench console.
% hg --repository local_repository_path fetch --verbose https://[email protected]/project
fetch
[command returned code 255 Sat Dec 31 18:19:42 2011]
if i go to the local repository in cmd and type "hg pull" i do get prompt for password and the pull succeeds.
can anyone please explain to me how to make this work from the workbench.
Many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许“我迁移到 TortoiseHg 2.0 的经验" 来自 Saveen Reddy (也在 Stack Overflow 上)可以提供帮助:
它建议取消选中“从 url 中删除身份验证数据”
它显示了如何通过将您的用户名指定为 < a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f78f8f8fb7909a969e9bd994989a">[电子邮件受保护] 并输入您的密码:
Maybe the section "Overcoming Initial Problems in Pulling and Pushing" of "My Experience Migrating to TortoiseHg 2.0" from Saveen Reddy (also on Stack Overflow) can help:
It suggests to unchecked "Remove authentication data from url"
And it shows how to change the security settings by specifying your username as [email protected] and entering your password: