在 Mac 上卸载 Mercurial
我安装了 Mercurial,却发现 MonoDevelop 还不支持它,然后意识到我不知道如何正确卸载它。
我用谷歌搜索了一下,找不到任何支持卸载它的东西。
I installed Mercurial, only to realize that it's not supported yet with MonoDevelop, and then realized that I have no clue how to properly uninstall it.
I've googled around and can't find anything to support uninstalling it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
MonoDevelop对版本控制的支持比较滞后,2.6版本只会添加对Git的基本支持。我建议保持 Hg 安装并使用命令行。您不应该仅仅因为您的 IDE 未与优秀的 DVCS 集成而放弃使用它。
由于 Hg 是基于 Python 的,因此您可以使用 easy_install 来卸载它。
有关详细信息,请参阅 easy_install 文档
MonoDevelop's support for version control is lagging, and only basic support for Git will be added in version 2.6. I would suggest keeping Hg installed and use the command line. You shouldn't dismiss using a great DVCS just because your IDE doesn't integrate with it.
Since Hg is Python based, you may be able to use easy_install to uninstall it for you.
See easy_install documentation for more information
您可以通过删除可执行文件来卸载 Mercurial,但这似乎是解决问题的唯一方法。可执行文件位于 /usr/local/bin 或 usr/local/bin/hg 中(我不太确定),但删除可执行文件(以及所有相关文件)是一种肮脏但有效的卸载 Mercurial 的方法。
You can uninstall mercurial by deleting the executable, but this seems to be the only way to fix the problem. The executable is in /usr/local/bin or in usr/local/bin/hg (I'm not quite sure), but deleting the executable (and all related files) is a dirty, but working, way to uninstall mercurial.
我这样做了:
默认情况下不安装 Pip,所以我想你可以使用:
这个食谱对我来说效果很好。
I did:
Pip is not install by default so I guess you can use:
This recipe works well for me.
我很幸运地遵循了 mercurial listserv< 上这篇文章的建议/a>:
I had luck following the suggestion of this post on the mercurial listserv:
虽然完全忘记了我是如何安装它的,但以下内容为我完成了工作。
Though totally forgotten how I installed it, the following did the work for me.
打开终端并键入此命令。
Open Terminal and type this command.
为什么不简单地使用 Mercurial 的提示符或第 3 方 GUI?无论如何,就速度/可靠性而言,这通常比 IDE 集成更受青睐。
Why not simply use the prompt or a 3rd party gui for mercurial? This is usually preferred over IDE Integration for speed/reliability anyways.