Visual Studio - AnkhSvn、TortoiseSVN、选美
我将 Visual Studio 2010 与 AnkhSvn 一起使用来进行 Visual Studio 工作,并使用 TortoiseSVN 来处理同一台计算机上的其他遗留项目。
我使用 PageAnt 中保存的 SSH 密钥连接到 SVN 服务器,以防止不断提示输入密码。这一直有效,直到我需要以管理员身份运行 VS2010,此时每次我需要更新/提交等到服务器时,AnkhSvn 都会提示我输入密码。
这很好,但是每当我尝试运行 AnkhSvn 合并向导时,它就会在选择源阶段之后挂起,我必须强制结束 VS2010 进程。
我可以通过每当以管理员身份运行 VS2010 时以管理员身份运行 PageAnt 来解决此问题。但这有一个副作用,TortoiseSVN 会提示我输入 SSH 密码。
尝试运行两个 pageant 实例似乎合乎逻辑,一个以管理员身份运行,另一个以正常方式运行,但是 PageAnt 不允许运行两个实例。
有没有人有一个解决方法,让我可以一起使用 TortoiseSVN 和 AnkhSVN,使用 PageAnt 进行身份验证,无论我是否以管理员身份运行 VS2010?
I am using Visual Studio 2010 with AnkhSvn for Visual Studio work and TortoiseSVN for other legacy projects on the same machine.
I connect to the SVN server using SSH keys held in PageAnt, to prevent continual prompting for my password. This works until I need to run VS2010 as an administrator, at which point AnkhSvn prompts for my password every time I need to update/commit etc.. to the server.
Which was fine, but whenever I try to run the AnkhSvn Merge Wizard, it hangs, after the select source stage and I have to forcilbly end the VS2010 process.
I can workaround this by running PageAnt as administrator whenever running VS2010 as administrator. But this has the side effect that TortoiseSVN will prompt for my SSH password.
It seemed logical to try to run two instances of pageant, one as an administrator and one the normal way, however PageAnt will not allow two instances to run.
Has anyone a workaround so I can use TortoiseSVN and AnkhSVN together, using PageAnt for authentication, regardless of whether I run VS2010 as an administrator?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Windows 应用程序可以构建为不允许运行重复的进程。你必须让选美团队改变这一点。
您可以在虚拟机中运行管理实例,尽管在这种情况下可能不值得这样做;你的电话。
Windows apps can be built to not allow for duplicate processes to be run. You'll have to get the pageant team to change that.
You could run the admin instances in a virtual machine, though that may not be worth the trouble in this situation; your call.