emacs ediff-revision for Hg 抱怨参数数量错误
尝试在 OS X Lion 上使用 Emacs v23.2 (9.0) 使 ediff-revision 在 hg (mercurial-1.8.4) 存储库上工作。我找到了这个答案 对于我的问题的第一部分,但现在我从 Emacs ediff-revision 得到这个:
Mx ediff-revision 比较文件的修订版本(默认 .hgtags):~/myrepo.hg/.hgtags 要比较的修订版 1(默认 .hgtags 的最新修订版): 要比较的修订版 2(默认 .hgtags 的当前状态):
我得到以下响应:
Checking out /Users/username/repo.hg/.hgtags.~tip~...
apply: Wrong number of arguments: (lambda (file &optional editable rev) "Retrieve a revision of FILE.
EDITABLE is ignored.
Trying to get ediff-revision working on hg (mercurial-1.8.4) repo using Emacs v23.2 (9.0) on OS X Lion. I found this answer for the 1st part of my problem but now I'm getting this from Emacs ediff-revision:
M-x ediff-revision
Compare revisions for file (default .hgtags): ~/myrepo.hg/.hgtags
Revision 1 to compare (default .hgtags's latest revision):
Revision 2 to compare (default .hgtags's current state):
and I get the following response:
Checking out /Users/username/repo.hg/.hgtags.~tip~...
apply: Wrong number of arguments: (lambda (file &optional editable rev) "Retrieve a revision of FILE.
EDITABLE is ignored.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来您使用的是旧的 emacs/vc/vc-hg 版本。简单地升级可能是最简单的解决方案。
我也遇到过类似的问题,我可以通过改进小设置来一点一点解决,甚至还打了一个补丁。它从未真正解决所有问题。直到我升级到最新的 emacs(和支持文件);我现在使用 Aquamacs 发行版,它在 Mac 上运行得很好。 (虽然它的键绑定比传统的 emacs 更 mac)
Seems you are using an old emacs/vc/vc-hg version. Simply upgrading is probably the easiest solution.
I had a similar problem, which I could solve bit by bit by improving small settings and even made a patch. It never really solved all. Until I upgrade to a recent emacs (and support file); I use the Aquamacs distribution now, which works great on the Mac. (Although it's keybindings are more mac the traditional-emacs)